summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-11-15 23:31:06 +0000
committerJohn McCall <rjmccall@apple.com>2010-11-15 23:31:06 +0000
commit8d69a2160e48b73a4515c9401e67971fb8c14e07 (patch)
tree14900bed496fd53f87c2014dc13c3c68ea2fac6a /clang/lib/AST/StmtProfile.cpp
parent24f6742b345165960ae7cd6a6a838f56d92bc595 (diff)
downloadbcm5719-llvm-8d69a2160e48b73a4515c9401e67971fb8c14e07.tar.gz
bcm5719-llvm-8d69a2160e48b73a4515c9401e67971fb8c14e07.zip
Add a new expression kind, OpaqueValueExpr, which is useful for
certain internal type-checking procedures as well as for representing certain implicitly-generated operations. Uses to follow. llvm-svn: 119289
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index 3f17a2b4717..d67f5fad6bf 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -834,6 +834,10 @@ void StmtProfiler::VisitCXXNoexceptExpr(CXXNoexceptExpr *S) {
VisitExpr(S);
}
+void StmtProfiler::VisitOpaqueValueExpr(OpaqueValueExpr *E) {
+ VisitExpr(E);
+}
+
void StmtProfiler::VisitObjCStringLiteral(ObjCStringLiteral *S) {
VisitExpr(S);
}
OpenPOWER on IntegriCloud