FreeBSD Bugzilla – Attachment 189938 Details for
Bug 224669
[exp-run] Against projects/clang600-import branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[don't land] Restore C++98 by default
clang6.c++98.diff (text/plain), 766 bytes, created by
Jan Beich
on 2018-01-20 23:14:52 UTC
(
hide
)
Description:
[don't land] Restore C++98 by default
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2018-01-20 23:14:52 UTC
Size:
766 bytes
patch
obsolete
>Index: contrib/llvm/tools/clang/lib/Frontend/CompilerInvocation.cpp >=================================================================== >--- contrib/llvm/tools/clang/lib/Frontend/CompilerInvocation.cpp (revision 328207) >+++ contrib/llvm/tools/clang/lib/Frontend/CompilerInvocation.cpp (working copy) >@@ -1765,7 +1765,11 @@ void CompilerInvocation::setLangDefaults(LangOptio > break; > case InputKind::CXX: > case InputKind::ObjCXX: >- LangStd = LangStandard::lang_gnucxx14; >+ // The PS4 uses C++11 as the default C++ standard. >+ if (T.isPS4()) >+ LangStd = LangStandard::lang_gnucxx11; >+ else >+ LangStd = LangStandard::lang_gnucxx98; > break; > case InputKind::RenderScript: > LangStd = LangStandard::lang_c99;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 224669
:
189723
| 189938