Home
last modified time | relevance | path

Searched refs:defineMacro (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Frontend/
DInitPreprocessor.cpp58 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/
DTargets.cpp51 Builder.defineMacro(MacroName); in DefineStd()
54 Builder.defineMacro("__" + MacroName); in DefineStd()
57 Builder.defineMacro("__" + MacroName + "__"); in DefineStd()
62 Builder.defineMacro("__" + CPUName); in defineCPUMacros()
63 Builder.defineMacro("__" + CPUName + "__"); in defineCPUMacros()
65 Builder.defineMacro("__tune_" + CPUName + "__"); in defineCPUMacros()
94 Builder.defineMacro("__CloudABI__"); in getOSDefines()
95 Builder.defineMacro("__ELF__"); in getOSDefines()
98 Builder.defineMacro("__STDC_ISO_10646__", "201206L"); in getOSDefines()
99 Builder.defineMacro("__STDC_UTF_16__"); in getOSDefines()
[all …]
/external/clang/include/clang/Basic/
DMacroBuilder.h30 void defineMacro(const Twine &Name, const Twine &Value = "1") {
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp276 void defineMacro(StringRef Name, MCAsmMacro Macro);
2246 void AsmParser::defineMacro(StringRef Name, MCAsmMacro Macro) { in defineMacro() function in AsmParser
3509 defineMacro(Name, MCAsmMacro(Name, Body, std::move(Parameters))); in parseDirectiveMacro()