On Thu, Jul 12, 2012 at 6:00 AM, NAKAMURA Takumi <[email protected]> wrote: > Nico, I have reverted it in r160103, excuse me. > > Failing Tests (3): > Clang :: Index/complete-cxx-inline-methods.cpp > Clang :: Index/recursive-cxx-member-calls.cpp > Clang :: SemaTemplate/inject-templated-friend-post.cpp
Thanks, I'll take a look. Sorry about the breakage. > > An archive of outputs is attached. I will investigate, too. > > ...Takumi > > 2012/7/12 Nico Weber <[email protected]>: >> Author: nico >> Date: Wed Jul 11 11:46:17 2012 >> New Revision: 160052 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=160052&view=rev >> Log: >> Default to -std=c++11 on Windows. >> >> >> Modified: >> cfe/trunk/lib/Driver/Tools.cpp >> >> Modified: cfe/trunk/lib/Driver/Tools.cpp >> URL: >> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=160052&r1=160051&r2=160052&view=diff >> ============================================================================== >> --- cfe/trunk/lib/Driver/Tools.cpp (original) >> +++ cfe/trunk/lib/Driver/Tools.cpp Wed Jul 11 11:46:17 2012 >> @@ -2124,8 +2124,11 @@ >> // eventually we want to do all the standard defaulting here instead of >> // splitting it between the driver and clang -cc1. >> if (!types::isCXX(InputType)) >> - Args.AddAllArgsTranslated(CmdArgs, options::OPT_std_default_EQ, >> - "-std=", /*Joined=*/true); >> + 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); >> } >> >> >> >> _______________________________________________ >> cfe-commits mailing list >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
