summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/ClangASTContext.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-08-19 06:19:25 +0000
committerSean Callanan <scallanan@apple.com>2011-08-19 06:19:25 +0000
commita87bee84cfb516d7128f3f0e4de317b0c7b13673 (patch)
treeb94d8ba5868c2a8f8d62915280bbd25d6d97abe3 /lldb/source/Symbol/ClangASTContext.cpp
parentba6c2a52c72c6706bc821e38d762fe11da386c66 (diff)
downloadbcm5719-llvm-a87bee84cfb516d7128f3f0e4de317b0c7b13673.tar.gz
bcm5719-llvm-a87bee84cfb516d7128f3f0e4de317b0c7b13673.zip
Refined the rollback to LLVM, picking up a newer
revision and adding a patch that fixes an AsmParser crash on ARM. One feature that we unfortunately lost (for the moment!) is the ability to cast unknown code symbols to arbitrary function types and put the resulting function pointer in a result variable. This feature will be back, though. llvm-svn: 138036
Diffstat (limited to 'lldb/source/Symbol/ClangASTContext.cpp')
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 68e0eead9bb..db26ca9119f 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -4960,12 +4960,12 @@ ClangASTContext::GetCompleteDecl (clang::ASTContext *ast,
clang::DeclContext *
ClangASTContext::GetAsDeclContext (clang::CXXMethodDecl *cxx_method_decl)
{
- return clang::dyn_cast<clang::DeclContext>(cxx_method_decl);
+ return llvm::dyn_cast<clang::DeclContext>(cxx_method_decl);
}
clang::DeclContext *
ClangASTContext::GetAsDeclContext (clang::ObjCMethodDecl *objc_method_decl)
{
- return clang::dyn_cast<clang::DeclContext>(objc_method_decl);
+ return llvm::dyn_cast<clang::DeclContext>(objc_method_decl);
}
OpenPOWER on IntegriCloud