aboutsummaryrefslogtreecommitdiff
path: root/tools/clang-cc/PrintParserCallbacks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-cc/PrintParserCallbacks.cpp')
-rw-r--r--tools/clang-cc/PrintParserCallbacks.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/tools/clang-cc/PrintParserCallbacks.cpp b/tools/clang-cc/PrintParserCallbacks.cpp
index 55d0d7f4f9..ceb0500c3f 100644
--- a/tools/clang-cc/PrintParserCallbacks.cpp
+++ b/tools/clang-cc/PrintParserCallbacks.cpp
@@ -181,9 +181,9 @@ namespace {
return DeclPtrTy();
}
- //===--------------------------------------------------------------------===//
+ //===------------------------------------------------------------------===//
// Type Parsing Callbacks.
- //===--------------------------------------------------------------------===//
+ //===------------------------------------------------------------------===//
virtual TypeResult ActOnTypeName(Scope *S, Declarator &D) {
llvm::cout << __FUNCTION__ << "\n";
@@ -237,14 +237,15 @@ namespace {
return DeclPtrTy();
}
- virtual void ActOnEnumBody(SourceLocation EnumLoc, DeclPtrTy EnumDecl,
+ virtual void ActOnEnumBody(SourceLocation EnumLoc, SourceLocation LBraceLoc,
+ SourceLocation RBraceLoc, DeclPtrTy EnumDecl,
DeclPtrTy *Elements, unsigned NumElements) {
llvm::cout << __FUNCTION__ << "\n";
}
- //===--------------------------------------------------------------------===//
+ //===------------------------------------------------------------------===//
// Statement Parsing Callbacks.
- //===--------------------------------------------------------------------===//
+ //===------------------------------------------------------------------===//
virtual OwningStmtResult ActOnNullStmt(SourceLocation SemiLoc) {
llvm::cout << __FUNCTION__ << "\n";
@@ -368,7 +369,7 @@ namespace {
return StmtEmpty();
}
virtual OwningStmtResult ActOnAsmStmt(SourceLocation AsmLoc,
- bool IsSimple,
+ bool IsSimple,
bool IsVolatile,
unsigned NumOutputs,
unsigned NumInputs,
@@ -438,9 +439,9 @@ namespace {
return StmtEmpty();
}
- //===--------------------------------------------------------------------===//
+ //===------------------------------------------------------------------===//
// Expression Parsing Callbacks.
- //===--------------------------------------------------------------------===//
+ //===------------------------------------------------------------------===//
// Primary Expressions.