Searched refs:defineMacro (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 57 Builder.defineMacro(MacroName, Twine(MacroBody) + "\\\n"); in DefineBuiltinMacro() 59 Builder.defineMacro(MacroName, MacroBody); in DefineBuiltinMacro() 62 Builder.defineMacro(Macro); in DefineBuiltinMacro() 160 Builder.defineMacro(DefPrefix + "DENORM_MIN__", Twine(DenormMin)+Ext); in DefineFloatMacros() 161 Builder.defineMacro(DefPrefix + "HAS_DENORM__"); in DefineFloatMacros() 162 Builder.defineMacro(DefPrefix + "DIG__", Twine(Digits)); in DefineFloatMacros() 163 Builder.defineMacro(DefPrefix + "DECIMAL_DIG__", Twine(DecimalDigits)); in DefineFloatMacros() 164 Builder.defineMacro(DefPrefix + "EPSILON__", Twine(Epsilon)+Ext); in DefineFloatMacros() 165 Builder.defineMacro(DefPrefix + "HAS_INFINITY__"); in DefineFloatMacros() 166 Builder.defineMacro(DefPrefix + "HAS_QUIET_NAN__"); in DefineFloatMacros() [all …]
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 48 Builder.defineMacro(MacroName); in DefineStd() 51 Builder.defineMacro("__" + MacroName); in DefineStd() 54 Builder.defineMacro("__" + MacroName + "__"); in DefineStd() 59 Builder.defineMacro("__" + CPUName); in defineCPUMacros() 60 Builder.defineMacro("__" + CPUName + "__"); in defineCPUMacros() 62 Builder.defineMacro("__tune_" + CPUName + "__"); in defineCPUMacros() 91 Builder.defineMacro("__APPLE_CC__", "6000"); in getDarwinDefines() 92 Builder.defineMacro("__APPLE__"); in getDarwinDefines() 93 Builder.defineMacro("OBJC_NEW_PROPERTIES"); in getDarwinDefines() 97 Builder.defineMacro("_FORTIFY_SOURCE", "0"); in getDarwinDefines() [all …]
|
/external/clang/include/clang/Basic/ |
D | MacroBuilder.h | 30 void defineMacro(const Twine &Name, const Twine &Value = "1") {
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 265 void defineMacro(StringRef Name, MCAsmMacro Macro); 2094 void AsmParser::defineMacro(StringRef Name, MCAsmMacro Macro) { in defineMacro() function in AsmParser 3375 defineMacro(Name, MCAsmMacro(Name, Body, std::move(Parameters))); in parseDirectiveMacro()
|