summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2010-05-05 15:23:54 +0000
committerAlexis Hunt <alercah@gmail.com>2010-05-05 15:23:54 +0000
commita8136cc40820f29cdd1a6fc84a75eeeba6737abc (patch)
tree63c08d22de15ae01a0582b263d70aee7cef145ec /clang/lib/AST/StmtProfile.cpp
parentce84a2558c586c57e125785766a1d0918940bf31 (diff)
downloadbcm5719-llvm-a8136cc40820f29cdd1a6fc84a75eeeba6737abc.tar.gz
bcm5719-llvm-a8136cc40820f29cdd1a6fc84a75eeeba6737abc.zip
Revert r103072; I accidentally ended up deleting a bunch of trailing
whitespace which makes this patch unreadable. Will recommit without the whitespace. llvm-svn: 103086
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index 514385ccbc6..d45bb2f010c 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -36,7 +36,7 @@ namespace {
void VisitStmt(Stmt *S);
#define STMT(Node, Base) void Visit##Node(Node *S);
-#include "clang/AST/StmtNodes.inc"
+#include "clang/AST/StmtNodes.def"
/// \brief Visit a declaration that is referenced within an expression
/// or statement.
@@ -279,13 +279,13 @@ void StmtProfiler::VisitOffsetOfExpr(OffsetOfExpr *S) {
case OffsetOfExpr::OffsetOfNode::Identifier:
ID.AddPointer(ON.getFieldName());
break;
-
+
case OffsetOfExpr::OffsetOfNode::Base:
// These nodes are implicit, and therefore don't need profiling.
break;
}
}
-
+
VisitExpr(S);
}
@@ -740,7 +740,7 @@ void StmtProfiler::VisitTemplateArgument(const TemplateArgument &Arg) {
case TemplateArgument::Template:
VisitTemplateName(Arg.getAsTemplate());
break;
-
+
case TemplateArgument::Declaration:
VisitDecl(Arg.getAsDecl());
break;
OpenPOWER on IntegriCloud