diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-11-19 07:49:47 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-11-19 07:49:47 +0000 |
commit | 82e95a3c79d670c5a702e87741de1659e694d17e (patch) | |
tree | b13118ae48891173792e2ecf9e876e3cee769b7a /clang/lib/Analysis | |
parent | 70573dcd9f002307584b63033e6e017474e11b0c (diff) | |
download | bcm5719-llvm-82e95a3c79d670c5a702e87741de1659e694d17e.tar.gz bcm5719-llvm-82e95a3c79d670c5a702e87741de1659e694d17e.zip |
Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept.
llvm-svn: 222335
Diffstat (limited to 'clang/lib/Analysis')
-rw-r--r-- | clang/lib/Analysis/AnalysisDeclContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/AnalysisDeclContext.cpp b/clang/lib/Analysis/AnalysisDeclContext.cpp index dd154f457a6..be66f32e77b 100644 --- a/clang/lib/Analysis/AnalysisDeclContext.cpp +++ b/clang/lib/Analysis/AnalysisDeclContext.cpp @@ -481,7 +481,7 @@ public: // Non-local variables are also directly modified. if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { if (!VD->hasLocalStorage()) { - if (Visited.insert(VD)) + if (Visited.insert(VD).second) BEVals.push_back(VD, BC); } } |