Searched refs:ConversionKind (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | StrToNumCheck.cpp | 38 enum class ConversionKind { enum 51 ConversionKind ClassifyConversionFunc(const FunctionDecl *FD) { in ClassifyConversionFunc() 52 return llvm::StringSwitch<ConversionKind>(FD->getName()) in ClassifyConversionFunc() 53 .Cases("atoi", "atol", ConversionKind::ToInt) in ClassifyConversionFunc() 54 .Case("atoll", ConversionKind::ToLongInt) in ClassifyConversionFunc() 55 .Case("atof", ConversionKind::ToDouble) in ClassifyConversionFunc() 56 .Default(ConversionKind::None); in ClassifyConversionFunc() 59 ConversionKind ClassifyFormatString(StringRef Fmt, const LangOptions &LO, in ClassifyFormatString() 66 ConversionKind CK; in ClassifyFormatString() 82 CK = ConversionKind::ToLongInt; in ClassifyFormatString() [all …]
|
/external/clang/include/clang/Sema/ |
D | Overload.h | 396 unsigned ConversionKind : 30; variable 404 ConversionKind = K; in setKind() 408 if (ConversionKind == AmbiguousConversion) Ambiguous.destruct(); in destruct() 431 : ConversionKind(Uninitialized), StdInitializerListElement(false) in ImplicitConversionSequence() 437 : ConversionKind(Other.ConversionKind), in ImplicitConversionSequence() 440 switch (ConversionKind) { in ImplicitConversionSequence() 459 return Kind(ConversionKind); in getKind() 498 bool isInitialized() const { return ConversionKind != Uninitialized; } in isInitialized() 518 if (ConversionKind == AmbiguousConversion) return; in setAmbiguous() 519 ConversionKind = AmbiguousConversion; in setAmbiguous()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Overload.h | 535 unsigned ConversionKind : 30; variable 543 ConversionKind = K; in setKind() 547 if (ConversionKind == AmbiguousConversion) Ambiguous.destruct(); in destruct() 570 : ConversionKind(Uninitialized), StdInitializerListElement(false) { in ImplicitConversionSequence() 575 : ConversionKind(Other.ConversionKind), in ImplicitConversionSequence() 577 switch (ConversionKind) { in ImplicitConversionSequence() 600 return Kind(ConversionKind); in getKind() 639 bool isInitialized() const { return ConversionKind != Uninitialized; } in isInitialized() 660 if (ConversionKind == AmbiguousConversion) return; in setAmbiguous() 661 ConversionKind = AmbiguousConversion; in setAmbiguous()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaOverload.cpp | 546 switch (ConversionKind) { in dump()
|