From e3d7c24f282e061ca9dd9268127ca9a24d715ccf Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 16 Jan 2008 23:35:31 +0000 Subject: [PATCH] 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 --- Analysis/GRConstants.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(Raw & ~Flags); } inline VariantKind getKind() const { return (VariantKind) (Raw & Flags); } -- 2.50.1