diff options
author | Jordy Rose <jediknil@belkadan.com> | 2012-05-07 19:24:40 +0000 |
---|---|---|
committer | Jordy Rose <jediknil@belkadan.com> | 2012-05-07 19:24:40 +0000 |
commit | e74ba3a46d1c86bb218e0d3ba5f28f986eb6e062 (patch) | |
tree | 612bafd8ce310e8bb9f9bab4dc3b568825eb7d9a /include/llvm/ADT | |
parent | fd87839a4888840ab5718fd116ab169ac04126af (diff) | |
download | external_llvm-e74ba3a46d1c86bb218e0d3ba5f28f986eb6e062.zip external_llvm-e74ba3a46d1c86bb218e0d3ba5f28f986eb6e062.tar.gz external_llvm-e74ba3a46d1c86bb218e0d3ba5f28f986eb6e062.tar.bz2 |
Constify (trivially) ImmutableSet::iterator::getVisitState().
This was probably intended all along.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/ImmutableSet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/ImmutableSet.h b/include/llvm/ADT/ImmutableSet.h index 89b1648..78eccdc 100644 --- a/include/llvm/ADT/ImmutableSet.h +++ b/include/llvm/ADT/ImmutableSet.h @@ -667,7 +667,7 @@ public: return reinterpret_cast<TreeTy*>(stack.back() & ~Flags); } - uintptr_t getVisitState() { + uintptr_t getVisitState() const { assert(!stack.empty()); return stack.back() & Flags; } |