r256396 - Some minor correction based on David Blaikie post-commit code review for r255281.
Ekaterina Romanova via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 24 14:52:41 PST 2015
Author: kromanova
Date: Thu Dec 24 16:52:41 2015
New Revision: 256396
URL: http://llvm.org/viewvc/llvm-project?rev=256396&view=rev
Log:
Some minor correction based on David Blaikie post-commit code review for r255281.
Modified:
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
cfe/trunk/lib/Parse/ParseDeclCXX.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=256396&r1=256395&r2=256396&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Thu Dec 24 16:52:41 2015
@@ -1,4 +1,4 @@
-//===--- CompilerInvocation.cpp -------------------------------------------===//
+//===---
//
// The LLVM Compiler Infrastructure
//
@@ -417,8 +417,7 @@ static bool ParseCodeGenArgs(CodeGenOpti
Opts.EmitCodeView = Args.hasArg(OPT_gcodeview);
Opts.SplitDwarfFile = Args.getLastArgValue(OPT_split_dwarf_file);
Opts.DebugTypeExtRefs = Args.hasArg(OPT_dwarf_ext_refs);
- if (Triple.isPS4CPU())
- Opts.DebugExplicitImport = true;
+ Opts.DebugExplicitImport = Triple.isPS4CPU();
for (const auto &Arg : Args.getAllArgValues(OPT_fdebug_prefix_map_EQ))
Opts.DebugPrefixMap.insert(StringRef(Arg).split('='));
Modified: cfe/trunk/lib/Parse/ParseDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDeclCXX.cpp?rev=256396&r1=256395&r2=256396&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDeclCXX.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDeclCXX.cpp Thu Dec 24 16:52:41 2015
@@ -65,7 +65,7 @@ Parser::DeclGroupPtrTy Parser::ParseName
if (Tok.is(tok::code_completion)) {
Actions.CodeCompleteNamespaceDecl(getCurScope());
cutOffParsing();
- return DeclGroupPtrTy();;
+ return DeclGroupPtrTy();
}
SourceLocation IdentLoc;
More information about the cfe-commits
mailing list