forked from OSchip/llvm-project
Updated LLVM to latest version as of 10/28 at
7pm, and made minor integration fixes. llvm-svn: 117680
This commit is contained in:
parent
13ff53e7b6
commit
31e851c9f3
|
@ -103,6 +103,7 @@ public:
|
|||
/// Interface stub that returns true.
|
||||
//------------------------------------------------------------------
|
||||
bool FindExternalLexicalDecls(const clang::DeclContext *DC,
|
||||
bool (*isKindWeWant)(clang::Decl::Kind),
|
||||
llvm::SmallVectorImpl<clang::Decl*> &Decls);
|
||||
|
||||
//------------------------------------------------------------------
|
||||
|
|
|
@ -25,7 +25,7 @@ our @llvm_clang_slices; # paths to the single architecture static libraries (arc
|
|||
|
||||
our $llvm_configuration = $ENV{LLVM_CONFIGURATION};
|
||||
|
||||
our $llvm_revision = "'{2010-10-01T17:00}'";
|
||||
our $llvm_revision = "'{2010-10-28T19:00}'";
|
||||
our $llvm_source_dir = "$ENV{SRCROOT}";
|
||||
our $cc = "$ENV{DEVELOPER_BIN_DIR}/gcc-4.2";
|
||||
our $cxx = "$ENV{DEVELOPER_BIN_DIR}/g++-4.2";
|
||||
|
|
|
@ -105,7 +105,9 @@ void ClangASTSource::MaterializeVisibleDecls(const DeclContext *DC)
|
|||
|
||||
// This is used to support iterating through an entire lexical context,
|
||||
// which isn't something the debugger should ever need to do.
|
||||
bool ClangASTSource::FindExternalLexicalDecls(const DeclContext *DC, llvm::SmallVectorImpl<Decl*> &Decls) {
|
||||
bool ClangASTSource::FindExternalLexicalDecls(const DeclContext *DC,
|
||||
bool (*isKindWeWant)(Decl::Kind),
|
||||
llvm::SmallVectorImpl<Decl*> &Decls) {
|
||||
// true is for error, that's good enough for me
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -161,7 +161,7 @@ ParseLangArgs
|
|||
// llvm::StringRef Vis = getLastArgValue(Args, OPT_fvisibility,
|
||||
// "default");
|
||||
// if (Vis == "default")
|
||||
Opts.setVisibilityMode(LangOptions::Default);
|
||||
Opts.setVisibilityMode(DefaultVisibility);
|
||||
// else if (Vis == "hidden")
|
||||
// Opts.setVisibilityMode(LangOptions::Hidden);
|
||||
// else if (Vis == "protected")
|
||||
|
@ -1091,6 +1091,7 @@ ClangASTContext::AddMethodToCXXRecordType
|
|||
cxx_record_decl,
|
||||
DeclarationNameInfo (ast_context->DeclarationNames.getCXXDestructorName (ast_context->getCanonicalType (record_qual_type)), SourceLocation()),
|
||||
method_qual_type,
|
||||
NULL,
|
||||
is_inline,
|
||||
is_implicitly_declared);
|
||||
}
|
||||
|
@ -3346,7 +3347,7 @@ ClangASTContext::CreateEnumerationType (const Declaration &decl, const char *nam
|
|||
SourceLocation(),
|
||||
name && name[0] ? &ast_context->Idents.get(name) : NULL,
|
||||
SourceLocation(),
|
||||
NULL); //IsScoped, IsFixed);
|
||||
NULL, false, false); //IsScoped, IsFixed);
|
||||
if (enum_decl)
|
||||
{
|
||||
// TODO: check if we should be setting the promotion type too?
|
||||
|
|
Loading…
Reference in New Issue