Searched refs:defineMacro (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 58 Builder.defineMacro(MacroName, Twine(MacroBody) + "\\\n"); in DefineBuiltinMacro() 60 Builder.defineMacro(MacroName, MacroBody); in DefineBuiltinMacro() 63 Builder.defineMacro(Macro); in DefineBuiltinMacro() 162 Builder.defineMacro(DefPrefix + "DENORM_MIN__", Twine(DenormMin)+Ext); in DefineFloatMacros() 163 Builder.defineMacro(DefPrefix + "HAS_DENORM__"); in DefineFloatMacros() 164 Builder.defineMacro(DefPrefix + "DIG__", Twine(Digits)); in DefineFloatMacros() 165 Builder.defineMacro(DefPrefix + "DECIMAL_DIG__", Twine(DecimalDigits)); in DefineFloatMacros() 166 Builder.defineMacro(DefPrefix + "EPSILON__", Twine(Epsilon)+Ext); in DefineFloatMacros() 167 Builder.defineMacro(DefPrefix + "HAS_INFINITY__"); in DefineFloatMacros() 168 Builder.defineMacro(DefPrefix + "HAS_QUIET_NAN__"); in DefineFloatMacros() [all …]
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 52 Builder.defineMacro(MacroName); in DefineStd() 55 Builder.defineMacro("__" + MacroName); in DefineStd() 58 Builder.defineMacro("__" + MacroName + "__"); in DefineStd() 63 Builder.defineMacro("__" + CPUName); in defineCPUMacros() 64 Builder.defineMacro("__" + CPUName + "__"); in defineCPUMacros() 66 Builder.defineMacro("__tune_" + CPUName + "__"); in defineCPUMacros() 99 Builder.defineMacro("__CloudABI__"); in getOSDefines() 100 Builder.defineMacro("__ELF__"); in getOSDefines() 103 Builder.defineMacro("__STDC_ISO_10646__", "201206L"); in getOSDefines() 104 Builder.defineMacro("__STDC_UTF_16__"); in getOSDefines() [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 | 318 void defineMacro(StringRef Name, MCAsmMacro Macro); 2379 void AsmParser::defineMacro(StringRef Name, MCAsmMacro Macro) { in defineMacro() function in AsmParser 3879 defineMacro(Name, MCAsmMacro(Name, Body, std::move(Parameters))); in parseDirectiveMacro()
|