diff options
author | Stephen Hines <srhines@google.com> | 2013-06-13 00:33:23 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2013-06-13 16:05:24 -0700 |
commit | 44f10063c2c08dab103a44cded0c3a288d65d43b (patch) | |
tree | 7d95229c5b1f744c3445e9d90fa8d968d19969e5 /slang_rs_check_ast.cpp | |
parent | bb99afd2800daecda16cc20d3974eae7c4fdd4b5 (diff) | |
download | android_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.cpp | 2 |
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)) { |