diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-28 19:01:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-28 19:01:03 +0000 |
commit | 3385fe12ce1f25d58e069d04b06476d14d9aa0c8 (patch) | |
tree | a1ad0835c7a428830b800d6e9414494881ad2b22 /clang/lib/Analysis/GRExprEngine.cpp | |
parent | fb23a968ad09fee98d62b15bbf5702ff696053c1 (diff) | |
download | bcm5719-llvm-3385fe12ce1f25d58e069d04b06476d14d9aa0c8.tar.gz bcm5719-llvm-3385fe12ce1f25d58e069d04b06476d14d9aa0c8.zip |
improve compatibility with the VC++'08 C++ compiler. Patch by
Niklas Larsson!
llvm-svn: 65706
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | clang/lib/Analysis/GRExprEngine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp index 8f7b674ead8..916340d1750 100644 --- a/clang/lib/Analysis/GRExprEngine.cpp +++ b/clang/lib/Analysis/GRExprEngine.cpp @@ -1357,7 +1357,8 @@ void GRExprEngine::VisitCallRec(CallExpr* CE, NodeTy* Pred, // Transfer function: Objective-C ivar references. //===----------------------------------------------------------------------===// -static std::pair<const void*,const void*> EagerlyAssumeTag(&EagerlyAssumeTag,0); +static std::pair<const void*,const void*> EagerlyAssumeTag + = std::pair<const void*,const void*>(&EagerlyAssumeTag,0); void GRExprEngine::EvalEagerlyAssume(NodeSet &Dst, NodeSet &Src, Expr *Ex) { for (NodeSet::iterator I=Src.begin(), E=Src.end(); I!=E; ++I) { |