diff options
author | John McCall <rjmccall@apple.com> | 2011-07-15 05:09:51 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-07-15 05:09:51 +0000 |
commit | 91a5755ad73c5dc1dfb167e448fdd74e75a6df56 (patch) | |
tree | 3d9cea0acd2fabd28652ff520f22a80b9408f54e /lib/StaticAnalyzer/Core/ExprEngine.cpp | |
parent | 165622faa4a472ff94352dee534e2adeaac9c824 (diff) |
Create a new expression node, SubstNonTypeTemplateParmExpr,
to represent a fully-substituted non-type template parameter.
This should improve source fidelity, as well as being generically
useful for diagnostics and such.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExprEngine.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/ExprEngine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/StaticAnalyzer/Core/ExprEngine.cpp b/lib/StaticAnalyzer/Core/ExprEngine.cpp index fbaa8490e9..cdf76bfa3e 100644 --- a/lib/StaticAnalyzer/Core/ExprEngine.cpp +++ b/lib/StaticAnalyzer/Core/ExprEngine.cpp @@ -479,6 +479,7 @@ void ExprEngine::Visit(const Stmt* S, ExplodedNode* Pred, // We don't handle default arguments either yet, but we can fake it // for now by just skipping them. + case Stmt::SubstNonTypeTemplateParmExprClass: case Stmt::CXXDefaultArgExprClass: { Dst.Add(Pred); break; |