]> granicus.if.org Git - clang/commitdiff
Some minor correction based on David Blaikie post-commit code review for r255281.
authorEkaterina Romanova <katya_romanova@playstation.sony.com>
Thu, 24 Dec 2015 22:52:41 +0000 (22:52 +0000)
committerEkaterina Romanova <katya_romanova@playstation.sony.com>
Thu, 24 Dec 2015 22:52:41 +0000 (22:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256396 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/CompilerInvocation.cpp
lib/Parse/ParseDeclCXX.cpp

index 8481a735aa4c312959ffaa4e2c766fd60a9ef097..d3870424b6bb79f928aa64d33054b880dc2bd86f 100644 (file)
@@ -1,4 +1,4 @@
-//===--- CompilerInvocation.cpp -------------------------------------------===//
+//===--- 
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -417,8 +417,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
   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('='));
index b71ce20c34fed936e0a44a98d9578afe5ae35f49..a021cc94776ac68bd251061dc5a57be28d16f653 100644 (file)
@@ -65,7 +65,7 @@ Parser::DeclGroupPtrTy Parser::ParseNamespace(unsigned Context,
   if (Tok.is(tok::code_completion)) {
     Actions.CodeCompleteNamespaceDecl(getCurScope());
     cutOffParsing();
-    return DeclGroupPtrTy();;
+    return DeclGroupPtrTy();
   }
 
   SourceLocation IdentLoc;