llvm-project/clang/lib
Denys Petrov 32efb81ea6 [analyzer] [NFC] Simplify SVal::getAsLocSymbol function using existing functions
Summary: Method of obtaining MemRegion from LocAsInteger/MemRegionVal already exists in SVal::getAsRegion function. Replace repetitive conditions in SVal::getAsLocSymbol with SVal::getAsRegion function.

Differential Revision: https://reviews.llvm.org/D89982
2020-10-26 17:00:29 +02:00
..
ARCMigrate [clang] Use SourceLocation as key in hash maps, NFCI 2020-10-20 16:24:09 +01:00
AST [clang] Enable support for #pragma STDC FENV_ACCESS 2020-10-25 06:46:25 -07:00
ASTMatchers [clang-tidy] Fix crash in readability-function-cognitive-complexity on weak refs 2020-10-11 18:52:38 +03:00
Analysis Thread safety analysis: Nullability improvements in TIL, NFCI 2020-10-25 19:37:16 +01:00
Basic [X86] Add a stub for Intel's alderlake. 2020-10-24 19:01:22 +02:00
CodeGen [Annotation] Allows annotation to carry some additional constant arguments. 2020-10-26 10:50:05 +01:00
CrossTU [analyzer] Add CTUImportCppThreshold for C++ files 2020-07-09 15:36:33 +02:00
DirectoryWatcher Revert "DirectoryWatcher: add an implementation for Windows" 2020-10-13 12:35:22 -07:00
Driver [Flang][Driver] Add infrastructure for basic frontend actions and file I/O 2020-10-24 14:58:32 +01:00
Edit [clang] Use SourceLocation as key in hash maps, NFCI 2020-10-20 16:24:09 +01:00
Format clang/Frontend: Use MemoryBufferRef in FrontendInputFile (and remove SourceManager::getBuffer) 2020-10-20 13:35:46 -04:00
Frontend SourceManager: getFileEntryRefForID => getNonBuiltinFilenameForID, NFC 2020-10-22 22:20:50 -04:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [HIP] Fix HIP rounding math intrinsics 2020-10-22 15:57:09 +00:00
Index [clang] Traverse init-captures while indexing 2020-09-22 02:32:09 -04:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex HeaderSearch: Simplify use of FileEntryRef in HeaderSearch::LookupFile, NFC 2020-10-23 22:10:50 -04:00
Parse [clang] Enable support for #pragma STDC FENV_ACCESS 2020-10-25 06:46:25 -07:00
Rewrite SourceManager: Clarify that FileInfo always has a ContentCache, NFC 2020-10-23 12:38:53 -04:00
Sema [clang] Suppress "follow-up" diagnostics on recovery call expressions. 2020-10-26 12:40:00 +01:00
Serialization [clang] Enable support for #pragma STDC FENV_ACCESS 2020-10-25 06:46:25 -07:00
StaticAnalyzer [analyzer] [NFC] Simplify SVal::getAsLocSymbol function using existing functions 2020-10-26 17:00:29 +02:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling SourceManager: getFileEntryRefForID => getNonBuiltinFilenameForID, NFC 2020-10-22 22:20:50 -04:00
CMakeLists.txt Add an explicit toggle for the static analyzer in clang-tidy 2020-09-10 10:48:17 -04:00