summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEkaterina Romanova <katya_romanova@playstation.sony.com>2015-12-24 22:52:41 +0000
committerEkaterina Romanova <katya_romanova@playstation.sony.com>2015-12-24 22:52:41 +0000
commit8b27746bde2fa46c50911f8be59fd7bbbd5f3764 (patch)
treefc18a82833558ed348901f7552ea19419f292a6d /clang/lib/Frontend/CompilerInvocation.cpp
parentb28ca3f1181dba31caa2f5bf7b059c4929c6d2be (diff)
downloadbcm5719-llvm-8b27746bde2fa46c50911f8be59fd7bbbd5f3764.tar.gz
bcm5719-llvm-8b27746bde2fa46c50911f8be59fd7bbbd5f3764.zip
Some minor correction based on David Blaikie post-commit code review for r255281.
llvm-svn: 256396
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 8481a735aa4..d3870424b6b 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -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('='));
OpenPOWER on IntegriCloud