aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2010-05-04 20:51:19 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2010-05-04 20:51:19 +0000
commitbe17651f5cd2e94922c1b732bc8589e180698193 (patch)
tree938fcb7c80a0402925b5b00fa684a245ab0936a5 /include/clang/AST
parent0883ccd9eac3b974df00e6548ee319a7dd3646f4 (diff)
downloadsrc-be17651f5cd2e94922c1b732bc8589e180698193.tar.gz
src-be17651f5cd2e94922c1b732bc8589e180698193.zip
Update clang to r103052.
Notes
Notes: svn path=/vendor/clang/dist/; revision=207632
Diffstat (limited to 'include/clang/AST')
-rw-r--r--include/clang/AST/ASTDiagnostic.h2
-rw-r--r--include/clang/AST/UnresolvedSet.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/AST/ASTDiagnostic.h b/include/clang/AST/ASTDiagnostic.h
index 2d314913469e..7cbf3a511705 100644
--- a/include/clang/AST/ASTDiagnostic.h
+++ b/include/clang/AST/ASTDiagnostic.h
@@ -15,7 +15,7 @@
namespace clang {
namespace diag {
enum {
-#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,SFINAE) ENUM,
+#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,SFINAE,CATEGORY) ENUM,
#define ASTSTART
#include "clang/Basic/DiagnosticASTKinds.inc"
#undef DIAG
diff --git a/include/clang/AST/UnresolvedSet.h b/include/clang/AST/UnresolvedSet.h
index cad7e61d553c..cbe00827d00a 100644
--- a/include/clang/AST/UnresolvedSet.h
+++ b/include/clang/AST/UnresolvedSet.h
@@ -45,6 +45,7 @@ public:
NamedDecl *getDecl() const { return ir->getDecl(); }
AccessSpecifier getAccess() const { return ir->getAccess(); }
+ void setAccess(AccessSpecifier AS) { ir->setAccess(AS); }
DeclAccessPair getPair() const { return *ir; }
NamedDecl *operator*() const { return getDecl(); }