dextool.utility

Members

Aliases

AbsolutePath (from dextool.type)
alias AbsolutePath = my.path.AbsolutePath via public import dextool.type : AbsolutePath, DextoolVersion, ExitStatusType;
Undocumented in source.
DextoolVersion (from dextool.type)
alias DextoolVersion = NamedType!(string, Tag!"DextoolVersion", string.init, TagStringable, Lengthable) via public import dextool.type : AbsolutePath, DextoolVersion, ExitStatusType;
Undocumented in source.

Enums

ExitStatusType (from dextool.type)
enum ExitStatusType via public import dextool.type : AbsolutePath, DextoolVersion, ExitStatusType;
Undocumented in source.
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.

fromArgCompileDb (from dextool.compilation_db)
CompileCommandDB fromArgCompileDb(string[] paths) via public import dextool.compilation_db : fromArgCompileDb;

Import and merge many compilation databases into one DB.

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)