summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtDumper.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-26 03:08:43 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-26 03:08:43 +0000
commit8e7d656a4ad1a9a36953b47894fad841b83ee247 (patch)
treedb13bc833eb9663ee9444174405d079874ce9cd2 /clang/lib/AST/StmtDumper.cpp
parentf6418b804eb306568a3784f474f2dd3107d86380 (diff)
downloadbcm5719-llvm-8e7d656a4ad1a9a36953b47894fad841b83ee247.tar.gz
bcm5719-llvm-8e7d656a4ad1a9a36953b47894fad841b83ee247.zip
De-memberify the VarDecl and FunctionDecl StorageClass enums.
This lets us remove Sema.h's dependency on Expr.h and Decl.h. llvm-svn: 112156
Diffstat (limited to 'clang/lib/AST/StmtDumper.cpp')
-rw-r--r--clang/lib/AST/StmtDumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtDumper.cpp b/clang/lib/AST/StmtDumper.cpp
index 44601e0bdf3..850bba40b7b 100644
--- a/clang/lib/AST/StmtDumper.cpp
+++ b/clang/lib/AST/StmtDumper.cpp
@@ -225,7 +225,7 @@ void StmtDumper::DumpDeclarator(Decl *D) {
OS << "\"";
// Emit storage class for vardecls.
if (VarDecl *V = dyn_cast<VarDecl>(VD)) {
- if (V->getStorageClass() != VarDecl::None)
+ if (V->getStorageClass() != SC_None)
OS << VarDecl::getStorageClassSpecifierString(V->getStorageClass())
<< " ";
}
OpenPOWER on IntegriCloud