aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-01-16 23:35:31 +0000
committerTed Kremenek <kremenek@apple.com>2008-01-16 23:35:31 +0000
commite3d7c24f282e061ca9dd9268127ca9a24d715ccf (patch)
tree3b69a925e81a443bbc82b749d4f416fa8364e172
parentb3d2dca4b0785f5955c6fd00ddf58755b4f0170f (diff)
Changed sorting criteria for DSPtr to put sub-expressions first in the value
map. This will allow us to quickly prune them from maps without searching the entire map. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46101 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Analysis/GRConstants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Analysis/GRConstants.cpp b/Analysis/GRConstants.cpp
index 6c0958ef8b..1aadf8aeff 100644
--- a/Analysis/GRConstants.cpp
+++ b/Analysis/GRConstants.cpp
@@ -47,7 +47,7 @@ namespace {
class VISIBILITY_HIDDEN DSPtr {
uintptr_t Raw;
public:
- enum VariantKind { IsValueDecl=0x0, IsSubExp=0x1, IsBlkLvl=0x2, Flags=0x3 };
+ enum VariantKind { IsSubExp=0x0, IsValueDecl=0x1, IsBlkLvl=0x2, Flags=0x3 };
inline void* getPtr() const { return reinterpret_cast<void*>(Raw & ~Flags); }
inline VariantKind getKind() const { return (VariantKind) (Raw & Flags); }