aboutsummaryrefslogtreecommitdiff
path: root/tools/clang-cc/PrintParserCallbacks.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-03-25 22:00:53 +0000
committerDouglas Gregor <dgregor@apple.com>2009-03-25 22:00:53 +0000
commit06c0fecd197fef21e265a41bca8dc5022de1f864 (patch)
treed0168c6425752edf087f70516c6025496252edb8 /tools/clang-cc/PrintParserCallbacks.cpp
parentd048bb79f5c3b3751878aec038bce28a5ce0f439 (diff)
Pass access specifiers through to member classes and member enums.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-cc/PrintParserCallbacks.cpp')
-rw-r--r--tools/clang-cc/PrintParserCallbacks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang-cc/PrintParserCallbacks.cpp b/tools/clang-cc/PrintParserCallbacks.cpp
index 6230591ffc..ba0d8efbbf 100644
--- a/tools/clang-cc/PrintParserCallbacks.cpp
+++ b/tools/clang-cc/PrintParserCallbacks.cpp
@@ -189,7 +189,7 @@ namespace {
virtual DeclTy *ActOnTag(Scope *S, unsigned TagType, TagKind TK,
SourceLocation KWLoc, const CXXScopeSpec &SS,
IdentifierInfo *Name, SourceLocation NameLoc,
- AttributeList *Attr) {
+ AttributeList *Attr, AccessSpecifier AS) {
// TagType is an instance of DeclSpec::TST, indicating what kind of tag this
// is (struct/union/enum/class).
llvm::cout << __FUNCTION__ << "\n";