diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-10-25 01:33:02 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-10-25 01:33:02 +0000 |
| commit | deb4a2be6742e9457e639548a05615c9674c22d4 (patch) | |
| tree | 6d51e5336be7c931aed6c37a45227e981d076a87 /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | |
| parent | 4223b3b380d11a86d64ff370bf2742961d5d9fff (diff) | |
| download | bcm5719-llvm-deb4a2be6742e9457e639548a05615c9674c22d4.tar.gz bcm5719-llvm-deb4a2be6742e9457e639548a05615c9674c22d4.zip | |
Implement support for dependent Microsoft __if_exists/__if_not_exists
statements. As noted in the documentation for the AST node, the
semantics of __if_exists/__if_not_exists are somewhat different from
the way Visual C++ implements them, because our parsed-template
representation can't accommodate VC++ semantics without serious
contortions. Hopefully this implementation is "good enough".
llvm-svn: 142901
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngine.cpp')
| -rw-r--r-- | clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp index 923293093c6..13550c793d7 100644 --- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp +++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp @@ -556,6 +556,7 @@ void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred, case Stmt::NullStmtClass: case Stmt::SwitchStmtClass: case Stmt::WhileStmtClass: + case Expr::MSDependentExistsStmtClass: llvm_unreachable("Stmt should not be in analyzer evaluation loop"); break; |

