Home
last modified time | relevance | path

Searched refs:IsDisabled (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Lex/
H A DMacroInfo.h103 bool IsDisabled : 1; variable
282 bool isEnabled() const { return !IsDisabled; } in isEnabled()
285 assert(IsDisabled && "Cannot enable an already-enabled macro!"); in EnableMacro()
286 IsDisabled = false; in EnableMacro()
290 assert(!IsDisabled && "Cannot disable an already-disabled macro!"); in DisableMacro()
291 IsDisabled = true; in DisableMacro()
/llvm-project-15.0.7/clang/lib/Lex/
H A DMacroInfo.cpp53 HasCommaPasting(false), IsDisabled(false), IsUsed(false), in MacroInfo()
158 if (IsDisabled) Out << " disabled"; in dump()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerLoop.cpp88 bool IsDisabled() const { in IsDisabled() function in fuzzer::TraceLock
103 if (Lock.IsDisabled()) in MallocHook()
116 if (Lock.IsDisabled()) in FreeHook()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp2153 bool IsDisabled = RecipType[0] == DisabledPrefix; in getOpEnabled() local
2154 if (IsDisabled) in getOpEnabled()
2158 return IsDisabled ? TargetLoweringBase::ReciprocalEstimate::Disabled in getOpEnabled()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DClang.cpp218 bool IsDisabled = Val.startswith(DisabledPrefixIn); in ParseMRecip() local
220 if (IsDisabled) in ParseMRecip()
264 StringRef Prefix = IsDisabled ? DisabledPrefixOut : EnabledPrefixOut; in ParseMRecip()