Searched refs:tryExpandAsInteger (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MmapWriteExecChecker.cpp | 52 const std::optional<int> FoundProtRead = tryExpandAsInteger("PROT_READ", PP); in checkASTDecl() 54 tryExpandAsInteger("PROT_WRITE", PP); in checkASTDecl() 55 const std::optional<int> FoundProtExec = tryExpandAsInteger("PROT_EXEC", PP); in checkASTDecl()
|
| H A D | BlockInCriticalSectionChecker.cpp | 410 O_NONBLOCKValue = tryExpandAsInteger( in reportBlockInCritSection()
|
| H A D | StreamChecker.cpp | 620 if (const std::optional<int> OptInt = tryExpandAsInteger("EOF", PP)) in initMacroValues() 624 if (const std::optional<int> OptInt = tryExpandAsInteger("SEEK_SET", PP)) in initMacroValues() 626 if (const std::optional<int> OptInt = tryExpandAsInteger("SEEK_END", PP)) in initMacroValues() 628 if (const std::optional<int> OptInt = tryExpandAsInteger("SEEK_CUR", PP)) in initMacroValues()
|
| H A D | UnixAPIChecker.cpp | 44 std::optional<int> MacroVal = tryExpandAsInteger("O_CREAT", PP); in getCreateFlagValue()
|
| H A D | StdLibraryFunctionsChecker.cpp | 1708 const auto EOFv = tryExpandAsInteger("EOF", PP).value_or(-1); in initFunctionSummaries() 1709 const auto AT_FDCWDv = tryExpandAsInteger("AT_FDCWD", PP).value_or(-100); in initFunctionSummaries()
|
| H A D | MallocChecker.cpp | 3579 tryExpandAsInteger("ZERO_SIZE_PTR", C.getPreprocessor()); in isArgZERO_SIZE_PTR()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerHelpers.h | 74 std::optional<int> tryExpandAsInteger(StringRef Macro, const Preprocessor &PP);
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 115 std::optional<int> tryExpandAsInteger(StringRef Macro, const Preprocessor &PP) { in tryExpandAsInteger() function
|