summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2017-10-12 09:42:12 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2017-10-12 09:42:12 +0000
commit5dadfd4bde632e60d68c31d75e3e1016d7ec9dba (patch)
treef95ec10bb463aa244255a084c737987f17077f42
parentdab5212884f6b9eb346a17a9abefb5e27b3bc5dd (diff)
downloadbcm5719-llvm-5dadfd4bde632e60d68c31d75e3e1016d7ec9dba.tar.gz
bcm5719-llvm-5dadfd4bde632e60d68c31d75e3e1016d7ec9dba.zip
SVal::getAsSymbol(bool IncludeBaseRegions): Follow clang/StaticAnalyzer/Core/PathSensitive/SVals.h, s/IncludeBaseRegion/IncludeBaseRegions/g [-Wdocumentation]
llvm-svn: 315572
-rw-r--r--clang/lib/StaticAnalyzer/Core/SVals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/SVals.cpp b/clang/lib/StaticAnalyzer/Core/SVals.cpp
index 9f2af3ffa70..a83421426a1 100644
--- a/clang/lib/StaticAnalyzer/Core/SVals.cpp
+++ b/clang/lib/StaticAnalyzer/Core/SVals.cpp
@@ -113,12 +113,12 @@ SymbolRef SVal::getLocSymbolInBase() const {
/// Casts are ignored during lookup.
/// \param IncludeBaseRegions The boolean that controls whether the search
/// should continue to the base regions if the region is not symbolic.
-SymbolRef SVal::getAsSymbol(bool IncludeBaseRegion) const {
+SymbolRef SVal::getAsSymbol(bool IncludeBaseRegions) const {
// FIXME: should we consider SymbolRef wrapped in CodeTextRegion?
if (Optional<nonloc::SymbolVal> X = getAs<nonloc::SymbolVal>())
return X->getSymbol();
- return getAsLocSymbol(IncludeBaseRegion);
+ return getAsLocSymbol(IncludeBaseRegions);
}
/// getAsSymbolicExpression - If this Sval wraps a symbolic expression then
OpenPOWER on IntegriCloud