dextool.clang

Members

Functions

findCompileCommandFromIncludes
Nullable!IncludeResult findCompileCommandFromIncludes(ParsedCompileCommand[] compdb, Path fname)

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

findFile
Nullable!AbsolutePath findFile(Path f, ParseFlags.Include[] includes, AbsolutePath dir)

Find the path on the filesystem where f exists as if the compiler search for the file.

reduceMissingFiles
auto reduceMissingFiles(LimitFileRange lfr, ParsedCompileCommand[] db)

Try and find matching compiler flags for the missing files.

Structs

IncludeResult
struct IncludeResult
Undocumented in source.

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.