dextool.utility

Public Imports

dextool.type
public import dextool.type : AbsolutePath, DextoolVersion, ExitStatusType;
dextool.compilation_db
public import dextool.compilation_db : fromArgCompileDb;

Members

Enums

PreferLang
enum PreferLang
Undocumented in source.

Functions

analyzeFile
ExitStatusType analyzeFile(AbsolutePath input_file, string[] cflags, VisitorT visitor, ClangContextT ctx)

Apply the visitor on the clang AST derived from the input_file.

dextoolBinaryId
long dextoolBinaryId()

A unique identifier for this binary of dextool.

isPathInsideRoot
bool isPathInsideRoot(AbsolutePath root, AbsolutePath path)

Returns. true if path is inside root.

prependDefaultFlags
string[] prependDefaultFlags(string[] in_cflags, PreferLang lang)
Undocumented in source. Be warned that the author may not have intended to support it.
prependLangFlagIfMissing
string[] prependLangFlagIfMissing(string[] in_cflags, PreferLang lang)

TODO move to clang module.

Manifest constants

dextoolVersion
enum dextoolVersion;
Undocumented in source.

Meta

Date

Date: 2015-2017, Joakim Brännström

License

MPL-2, Mozilla Public License 2.0

Authors

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