Author: dergachev
Date: Wed Jan 17 15:03:25 2018
New Revision: 322781

URL: http://llvm.org/viewvc/llvm-project?rev=322781&view=rev
Log:
[analyzer] operator new: Fix ambigious type name.

Hopefully fixes an MSVC buildbot failure.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp?rev=322781&r1=322780&r2=322781&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp Wed Jan 17 15:03:25 2018
@@ -65,7 +65,7 @@ REGISTER_TRAIT_WITH_PROGRAMSTATE(Initial
 
 typedef llvm::ImmutableMap<std::pair<const CXXNewExpr *,
                            const LocationContext *>, SVal>
-    CXXNewAllocatorValuesTy;
+    CXXNewAllocatorValuesMap;
 
 // Keeps track of return values of various operator new() calls between
 // evaluation of the inlined operator new(), through the constructor call,
@@ -75,7 +75,8 @@ typedef llvm::ImmutableMap<std::pair<con
 // is evaluated, and removed from the stack when the whole CXXNewExpr
 // is fully evaluated.
 // Probably do something similar to the previous trait as well.
-REGISTER_TRAIT_WITH_PROGRAMSTATE(CXXNewAllocatorValues, 
CXXNewAllocatorValuesTy)
+REGISTER_TRAIT_WITH_PROGRAMSTATE(CXXNewAllocatorValues,
+                                 CXXNewAllocatorValuesMap)
 
 
//===----------------------------------------------------------------------===//
 // Engine construction and deletion.


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to