forked from OSchip/llvm-project
Revert r160052, "Default to -std=c++11 on Windows.", for now.
Failing Tests (3): Clang :: Index/complete-cxx-inline-methods.cpp Clang :: Index/recursive-cxx-member-calls.cpp Clang :: SemaTemplate/inject-templated-friend-post.cpp llvm-svn: 160103
This commit is contained in:
parent
775086e67c
commit
e5494ffe4f
|
@ -2126,9 +2126,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
if (!types::isCXX(InputType))
|
||||
Args.AddAllArgsTranslated(CmdArgs, options::OPT_std_default_EQ,
|
||||
"-std=", /*Joined=*/true);
|
||||
else if (getToolChain().getTriple().getOS() == llvm::Triple::Win32)
|
||||
CmdArgs.push_back("-std=c++11");
|
||||
|
||||
Args.AddLastArg(CmdArgs, options::OPT_trigraphs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue