forked from OSchip/llvm-project
Some minor correction based on David Blaikie post-commit code review for r255281.
llvm-svn: 256396
This commit is contained in:
parent
b28ca3f118
commit
8b27746bde
|
@ -1,4 +1,4 @@
|
||||||
//===--- CompilerInvocation.cpp -------------------------------------------===//
|
//===---
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
||||||
|
@ -417,8 +417,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
|
||||||
Opts.EmitCodeView = Args.hasArg(OPT_gcodeview);
|
Opts.EmitCodeView = Args.hasArg(OPT_gcodeview);
|
||||||
Opts.SplitDwarfFile = Args.getLastArgValue(OPT_split_dwarf_file);
|
Opts.SplitDwarfFile = Args.getLastArgValue(OPT_split_dwarf_file);
|
||||||
Opts.DebugTypeExtRefs = Args.hasArg(OPT_dwarf_ext_refs);
|
Opts.DebugTypeExtRefs = Args.hasArg(OPT_dwarf_ext_refs);
|
||||||
if (Triple.isPS4CPU())
|
Opts.DebugExplicitImport = Triple.isPS4CPU();
|
||||||
Opts.DebugExplicitImport = true;
|
|
||||||
|
|
||||||
for (const auto &Arg : Args.getAllArgValues(OPT_fdebug_prefix_map_EQ))
|
for (const auto &Arg : Args.getAllArgValues(OPT_fdebug_prefix_map_EQ))
|
||||||
Opts.DebugPrefixMap.insert(StringRef(Arg).split('='));
|
Opts.DebugPrefixMap.insert(StringRef(Arg).split('='));
|
||||||
|
|
|
@ -65,7 +65,7 @@ Parser::DeclGroupPtrTy Parser::ParseNamespace(unsigned Context,
|
||||||
if (Tok.is(tok::code_completion)) {
|
if (Tok.is(tok::code_completion)) {
|
||||||
Actions.CodeCompleteNamespaceDecl(getCurScope());
|
Actions.CodeCompleteNamespaceDecl(getCurScope());
|
||||||
cutOffParsing();
|
cutOffParsing();
|
||||||
return DeclGroupPtrTy();;
|
return DeclGroupPtrTy();
|
||||||
}
|
}
|
||||||
|
|
||||||
SourceLocation IdentLoc;
|
SourceLocation IdentLoc;
|
||||||
|
|
Loading…
Reference in New Issue