aboutsummaryrefslogtreecommitdiffstats
path: root/slang_rs_check_ast.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-06-13 00:33:23 -0700
committerStephen Hines <srhines@google.com>2013-06-13 16:05:24 -0700
commit44f10063c2c08dab103a44cded0c3a288d65d43b (patch)
tree7d95229c5b1f744c3445e9d90fa8d968d19969e5 /slang_rs_check_ast.cpp
parentbb99afd2800daecda16cc20d3974eae7c4fdd4b5 (diff)
downloadandroid_frameworks_compile_slang-44f10063c2c08dab103a44cded0c3a288d65d43b.tar.gz
android_frameworks_compile_slang-44f10063c2c08dab103a44cded0c3a288d65d43b.tar.bz2
android_frameworks_compile_slang-44f10063c2c08dab103a44cded0c3a288d65d43b.zip
Update slang for LLVM merge to r183849.
s/getLinkage/getFormalLinkage Path.h -> PathV1.h Fix test output diagnostics related to pragma location Change-Id: I7ab5372e848494ac40f1284eb6f9accc18092ad7
Diffstat (limited to 'slang_rs_check_ast.cpp')
-rw-r--r--slang_rs_check_ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slang_rs_check_ast.cpp b/slang_rs_check_ast.cpp
index 72b97a7..845db4c 100644
--- a/slang_rs_check_ast.cpp
+++ b/slang_rs_check_ast.cpp
@@ -82,7 +82,7 @@ void RSCheckAST::ValidateVarDecl(clang::VarDecl *VD) {
clang::QualType QT = VD->getType();
- if (VD->getLinkage() == clang::ExternalLinkage) {
+ if (VD->getFormalLinkage() == clang::ExternalLinkage) {
llvm::StringRef TypeName;
const clang::Type *T = QT.getTypePtr();
if (!RSExportType::NormalizeType(T, TypeName, &mDiagEngine, VD)) {