aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorDenys Petrov <dpetrov@accesssoftek.com>2020-10-26 16:59:54 +0200
committerDenys Petrov <dpetrov@accesssoftek.com>2020-10-26 17:00:29 +0200
commit32efb81ea60a9e99571923bf9308598f6cd341f2 (patch)
tree229fb1c4f36e488b3481222fa01252b45a8ed5dd /clang/lib/Basic/SourceManager.cpp
parent26e2e9f2de7efdfb843a5440e7a94c4e919efd7a (diff)
downloadllvm-32efb81ea60a9e99571923bf9308598f6cd341f2.zip
llvm-32efb81ea60a9e99571923bf9308598f6cd341f2.tar.gz
llvm-32efb81ea60a9e99571923bf9308598f6cd341f2.tar.bz2
[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
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions