diff options
author | Sean Callanan <scallanan@apple.com> | 2011-01-27 04:42:51 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-01-27 04:42:51 +0000 |
commit | 78e3760fde9583ed17c9bed10e0a718bca07785f (patch) | |
tree | e2d30eb1180c2f67fa2dd98e824a60ef4d5d7889 /lldb/source/Expression/ClangASTSource.cpp | |
parent | f3e20b9f0fffa72c4b532c04160e5e2dfa35d582 (diff) | |
download | bcm5719-llvm-78e3760fde9583ed17c9bed10e0a718bca07785f.tar.gz bcm5719-llvm-78e3760fde9583ed17c9bed10e0a718bca07785f.zip |
Updated Clang to a version that supports propagating
the "virtual" flag when importing a C++ function
declaration. Made changes to LLDB to support other
changes in Clang.
llvm-svn: 124355
Diffstat (limited to 'lldb/source/Expression/ClangASTSource.cpp')
-rw-r--r-- | lldb/source/Expression/ClangASTSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/ClangASTSource.cpp b/lldb/source/Expression/ClangASTSource.cpp index a23547d83dd..fa9d50e34b2 100644 --- a/lldb/source/Expression/ClangASTSource.cpp +++ b/lldb/source/Expression/ClangASTSource.cpp @@ -244,7 +244,7 @@ NameSearchContext::AddTypeDecl(void *type) { QualType qual_type = QualType::getFromOpaquePtr(type); - if (TagType *tag_type = dyn_cast<clang::TagType>(qual_type)) + if (const TagType *tag_type = dyn_cast<clang::TagType>(qual_type)) { TagDecl *tag_decl = tag_type->getDecl(); @@ -252,7 +252,7 @@ NameSearchContext::AddTypeDecl(void *type) return tag_decl; } - else if (ObjCObjectType *objc_object_type = dyn_cast<clang::ObjCObjectType>(qual_type)) + else if (const ObjCObjectType *objc_object_type = dyn_cast<clang::ObjCObjectType>(qual_type)) { ObjCInterfaceDecl *interface_decl = objc_object_type->getInterface(); |