FreeBSD Bugzilla – Attachment 190830 Details for
Bug 226068
buildworld persistently fails due to how the keyword "auto" has been used in clang C++ code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch SemaInit.cpp in clang source to use a proper type name instead of "auto".
Clang_SemaInit.patch (text/plain), 672 bytes, created by
jau
on 2018-02-20 16:03:47 UTC
(
hide
)
Description:
Patch SemaInit.cpp in clang source to use a proper type name instead of "auto".
Filename:
MIME Type:
Creator:
jau
Created:
2018-02-20 16:03:47 UTC
Size:
672 bytes
patch
obsolete
>Index: contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp >=================================================================== >--- contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp (revision 329366) >+++ contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp (working copy) >@@ -6316,7 +6316,7 @@ > QualType T = DestType->getAs<ReferenceType>()->getPointeeType(); > diagnoseListInit(S, InitializedEntity::InitializeTemporary(T), InitList); > SourceLocation Loc = InitList->getLocStart(); >- if (auto *D = Entity.getDecl()) >+ if (Decl *D = Entity.getDecl()) > Loc = D->getLocation(); > S.Diag(Loc, diag::note_in_reference_temporary_list_initializer) << T; > return;
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 226068
: 190830