aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Sema
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-12-16 01:14:37 +0000
committerDouglas Gregor <dgregor@apple.com>2010-12-16 01:14:37 +0000
commit6ccab97c17c17f38eb92c7fe02c766508875bd97 (patch)
tree388b7372dc49e35e6d638f7bec30b83d13a62c6b /include/clang/Sema
parent8b1aba495744bea7093899a65f08c3987263061c (diff)
Check for unexpanded parameter packs in friend declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema')
-rw-r--r--include/clang/Sema/Sema.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h
index c48f40403c..9727807676 100644
--- a/include/clang/Sema/Sema.h
+++ b/include/clang/Sema/Sema.h
@@ -3160,7 +3160,13 @@ public:
UPPC_EnumeratorValue,
/// \brief A using declaration.
- UPPC_UsingDeclaration
+ UPPC_UsingDeclaration,
+
+ /// \brief A friend declaration.
+ UPPC_FriendDeclaration,
+
+ /// \brief A declaration qualifier.
+ UPPC_DeclarationQualifier
};
/// \brief If the given type contains an unexpanded parameter pack,