|
clang
3.8.0
|
#include <MacroBuilder.h>
Public Member Functions | |
| MacroBuilder (raw_ostream &Output) | |
| void | defineMacro (const Twine &Name, const Twine &Value="1") |
| Append a #define line for macro of the form "\#define Name Value\n". More... | |
| void | undefineMacro (const Twine &Name) |
| Append a #undef line for Name. More... | |
| void | append (const Twine &Str) |
| Directly append Str and a newline to the underlying buffer. More... | |
Definition at line 24 of file MacroBuilder.h.
|
inline |
Definition at line 27 of file MacroBuilder.h.
|
inline |
Directly append Str and a newline to the underlying buffer.
Definition at line 41 of file MacroBuilder.h.
Referenced by AddImplicitInclude(), AddImplicitIncludeMacros(), AddObjCXXARCLibstdcxxDefines(), and clang::InitializePreprocessor().
|
inline |
Append a #define line for macro of the form "\#define Name Value\n".
Definition at line 30 of file MacroBuilder.h.
Referenced by AddObjCXXARCLibstdcxxDefines(), DefineBuiltinMacro(), defineCPUMacros(), DefineExactWidthIntType(), DefineFloatMacros(), DefineFmt(), DefineStd(), DefineType(), DefineTypeSize(), DefineTypeSizeof(), DefineTypeWidth(), InitializeCPlusPlusFeatureTestMacros(), InitializePredefinedMacros(), and InitializeStandardPredefinedMacros().
|
inline |
Append a #undef line for Name.
Name should be of the form XXX and we emit "\#undef XXX".
Definition at line 36 of file MacroBuilder.h.
Referenced by clang::InitializePreprocessor().
1.8.6