diff options
author | Ekaterina Romanova <katya_romanova@playstation.sony.com> | 2015-12-24 22:52:41 +0000 |
---|---|---|
committer | Ekaterina Romanova <katya_romanova@playstation.sony.com> | 2015-12-24 22:52:41 +0000 |
commit | 55f53fea3e6544369d440f1cc9c44b77eeff8460 (patch) | |
tree | 68eec593fa61b83a699dd9aa84a331f151967354 /lib/Frontend/CompilerInvocation.cpp | |
parent | 54749dd8e2b0e95bf29b91c8b3e56d84ea7381b2 (diff) | |
download | clang-55f53fea3e6544369d440f1cc9c44b77eeff8460.tar.gz |
Some minor correction based on David Blaikie post-commit code review for r255281.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256396 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 8481a735aa..d3870424b6 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/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('=')); |