stores the raw macro definition (not MetaDefinition) information provided by PPCallback for a translation unit.
More...
stores the raw macro definition (not MetaDefinition) information provided by PPCallback for a translation unit.
◆ MacroDefinitions()
CppImport::MacroDefinitions::MacroDefinitions |
( |
ClangHelpers & |
clang | ) |
|
◆ addMacroDefinition()
void CppImport::MacroDefinitions::addMacroDefinition |
( |
const QString & |
name, |
|
|
const clang::MacroDirective * |
md |
|
) |
| |
|
inline |
◆ clear()
void CppImport::MacroDefinitions::clear |
( |
| ) |
|
|
inline |
◆ definitionName()
QString CppImport::MacroDefinitions::definitionName |
( |
const clang::MacroDirective * |
md | ) |
const |
◆ isPartialBegin()
bool CppImport::MacroDefinitions::isPartialBegin |
( |
const clang::MacroDirective * |
md | ) |
const |
|
inline |
return whether md defines a begin incomplete macro.
◆ isPartialEnd()
bool CppImport::MacroDefinitions::isPartialEnd |
( |
const clang::MacroDirective * |
md | ) |
const |
|
inline |
return whether md defines an end incomplete macro.
◆ signature()
QString CppImport::MacroDefinitions::signature |
( |
const clang::MacroDirective * |
md | ) |
const |
◆ clang_
◆ definitions_
QHash<const clang::MacroDirective*, QString> CppImport::MacroDefinitions::definitions_ |
|
private |
◆ directoryToNamespaceMap_
QHash<QString, QString> CppImport::MacroDefinitions::directoryToNamespaceMap_ |
|
private |