diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-10-12 09:42:12 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-10-12 09:42:12 +0000 |
| commit | 5dadfd4bde632e60d68c31d75e3e1016d7ec9dba (patch) | |
| tree | f95ec10bb463aa244255a084c737987f17077f42 | |
| parent | dab5212884f6b9eb346a17a9abefb5e27b3bc5dd (diff) | |
| download | bcm5719-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.cpp | 4 |
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 |

