dextool.clang

Members

Functions

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

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

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

Find flags for fname by searching in the compilation DB.

Meta

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.

License

MPL-2