dextool.clang

Members

Functions

findCompileCommandFromIncludes
Nullable!IncludeResult findCompileCommandFromIncludes(CompileCommandDB compdb, FileName fname, CompileCommandFilter flag_filter, string[] extra_flags, DbCompiler user_compiler)

Find a CompileCommand that in any way have an #include which pull in fname.

findFlags
Nullable!SearchResult findFlags(CompileCommandDB compdb, FileName fname, string[] flags, CompileCommandFilter flag_filter, DbCompiler user_compiler)

Find flags for fname by searching in the compilation DB.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

This file contains helpers for interactive with the clang abstractions.