]> granicus.if.org Git - clang/commitdiff
Changed sorting criteria for DSPtr to put sub-expressions first in the value
authorTed Kremenek <kremenek@apple.com>
Wed, 16 Jan 2008 23:35:31 +0000 (23:35 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 16 Jan 2008 23:35:31 +0000 (23:35 +0000)
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

Analysis/GRConstants.cpp

index 6c0958ef8b0ff60d6f60330d8f25b354063cd7b6..1aadf8aeff87d09fd82612bc0fb4c3971ff93a18 100644 (file)
@@ -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); }