mgorny added a comment.
Well, my idea was to list the standards one per line (like on GCC manpage), and
then the '(deprecated)' comments would probably stand out enough to apply to a
single line. Also, FWICS the gcc manpage simply lists which aliases are
deprecated in the description text. But
Wizard added a comment.
In https://reviews.llvm.org/D45392#1060854, @Eugene.Zelenko wrote:
> In https://reviews.llvm.org/D45392#1060845, @Wizard wrote:
>
> > In https://reviews.llvm.org/D45392#1060485, @Eugene.Zelenko wrote:
> >
> > > If this is Apple guideline, check name should reflect this. I
Author: ericwf
Date: Sat Apr 7 23:21:33 2018
New Revision: 329521
URL: http://llvm.org/viewvc/llvm-project?rev=329521&view=rev
Log:
[Sema] Fix PR35832 - Ambiguity accessing anonymous struct/union with multiple
bases.
Summary:
Currently clang doesn't do qualified lookup when building indirect fi
EricWF updated this revision to Diff 141527.
EricWF added a comment.
I missed a test failure. Reuploading and recommiting latest diff to keep the
history.
https://reviews.llvm.org/D45411
Files:
lib/Sema/SemaExprMember.cpp
lib/Sema/TreeTransform.h
test/SemaCXX/PR35832.cpp
Index: test/Se
Author: ericwf
Date: Sat Apr 7 23:05:33 2018
New Revision: 329520
URL: http://llvm.org/viewvc/llvm-project?rev=329520&view=rev
Log:
Revert "[Sema] Fix PR35832 - Ambiguity accessing anonymous struct/union with
multiple bases."
This reverts commit r329519. There are some unaddressed test failures
This revision was automatically updated to reflect the committed changes.
Closed by commit rC329519: [Sema] Fix PR35832 - Ambiguity accessing anonymous
struct/union with multiple… (authored by EricWF, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D45411
Files:
lib/Sema/SemaE
Author: ericwf
Date: Sat Apr 7 22:50:01 2018
New Revision: 329519
URL: http://llvm.org/viewvc/llvm-project?rev=329519&view=rev
Log:
[Sema] Fix PR35832 - Ambiguity accessing anonymous struct/union with multiple
bases.
Summary:
Currently clang doesn't do qualified lookup when building indirect fi
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329518: [Sema] Remove dead code in
BuildAnonymousStructUnionMemberReference. NFCI (authored by EricWF, committed
by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.
This revision was automatically updated to reflect the committed changes.
Closed by commit rC329517: [Sema] Fix PR22637 - IndirectFieldDecl's
discard qualifiers during template… (authored by EricWF, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45412?vs=141520&id=141523#toc
Author: ericwf
Date: Sat Apr 7 22:12:55 2018
New Revision: 329518
URL: http://llvm.org/viewvc/llvm-project?rev=329518&view=rev
Log:
[Sema] Remove dead code in BuildAnonymousStructUnionMemberReference. NFCI
Summary:
This patch cleans up a bunch of dead or unused code in
BuildAnonymousStructUnion
Author: ericwf
Date: Sat Apr 7 22:11:59 2018
New Revision: 329517
URL: http://llvm.org/viewvc/llvm-project?rev=329517&view=rev
Log:
[Sema] Fix PR22637 - IndirectFieldDecl's discard qualifiers during template
instantiation.
Summary:
Currently Clang fails to propagate qualifiers from the `CXXThis
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
I think there was a point when we weren't always creating CXXThisExprs eagerly
for these accesses. Now that we are, yeah, this should be dead.
Repository:
rC Clang
https://reviews.llv
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
Okay, LGTM.
Repository:
rC Clang
https://reviews.llvm.org/D45412
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
Well, that is a really silly bug. Fix LGTM.
https://reviews.llvm.org/D45411
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://l
EricWF updated this revision to Diff 141522.
EricWF added a comment.
- Upload with correct test.
https://reviews.llvm.org/D45411
Files:
lib/Sema/SemaExprMember.cpp
test/SemaCXX/PR35832.cpp
Index: test/SemaCXX/PR35832.cpp
===
EricWF created this revision.
EricWF added reviewers: rsmith, lebedev.ri, aaron.ballman, bkramer, rjmccall.
Currently Clang fails to propagate qualifiers from the `CXXThisExpr` to the
rebuilt `FieldDecl` for IndirectFieldDecls. For example:
template struct Foo {
struct { int x; };
int
EricWF created this revision.
EricWF added reviewers: rsmith, aaron.ballman, rjmccall.
EricWF added a dependency: D45410: [Sema] Remove dead code in
BuildAnonymousStructUnionMemberReference. NFCI.
Currently clang doesn't do qualified lookup when building indirect field decl
references. This caus
EricWF created this revision.
EricWF added reviewers: rsmith, aaron.ballman, majnemer, rjmccall.
This patch cleans up a bunch of dead or unused code in
BuildAnonymousStructUnionMemberReference.
The dead code was a branch that built a new CXXThisExpr when we weren't given a
base object expressio
Eugene.Zelenko added a comment.
In https://reviews.llvm.org/D45392#1060845, @Wizard wrote:
> In https://reviews.llvm.org/D45392#1060485, @Eugene.Zelenko wrote:
>
> > If this is Apple guideline, check name should reflect this. I think will be
> > good idea to have general check for Apple naming c
Wizard updated this revision to Diff 141515.
Wizard edited the summary of this revision.
Wizard added a comment.
resolve comments
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45392
Files:
clang-tidy/objc/CMakeLists.txt
clang-tidy/objc/IvarDeclarationCheck.cpp
clang-tidy
Wizard marked 4 inline comments as done.
Wizard added a comment.
In https://reviews.llvm.org/D45392#1060485, @Eugene.Zelenko wrote:
> If this is Apple guideline, check name should reflect this. I think will be
> good idea to have general check for Apple naming conventions instead of
> separate
DHowett-MSFT added a comment.
It seems more fragile to check the contents of the protocol rather than the
invariant we care most about (its size).
I'm willing to do that, and am updating the patch accordingly, but I don't want
to commit to a more fragile test than is necessary.
Illustratively, i
NoQ added a comment.
The output looks reasonable to me, but we'll need to see if other consumers of
the plist output (IDEs that supports the analyzer, such as Xcode) will be able
to accept the modified output (at least, will be able to ignore it). I'll have
a look.
Repository:
rC Clang
htt
dim updated this revision to Diff 141513.
dim added a comment.
- Use "values" instead of "options"
- Remove deprecated standard values
Repository:
rC Clang
https://reviews.llvm.org/D45406
Files:
docs/CommandGuide/clang.rst
Index: docs/CommandGuide/clang.rst
==
malcolm.parsons added a comment.
Please add to release notes.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45405
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329515: [libclang] Add clang_File_tryGetRealPathName
(authored by MaskRay, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D42893?vs=141496&id=
mgorny created this revision.
mgorny added reviewers: simark, ilya-biryukov.
Herald added a subscriber: ioeric.
Explicitly include and build lib/Testing/Support from LLVM sources when
doing a stand-alone build. This is necessary since clangd tests started
to depend on LLVMTestingSupport library wh
Szelethus created this revision.
Szelethus added reviewers: dergachev.a, xazax.hun.
Szelethus added a project: clang.
Herald added subscribers: cfe-commits, a.sidorin, rnkovacs, szepet, whisperity.
Herald added a reviewer: george.karpenkov.
Added notes to `-analyzer-output=plist`.
Repository:
craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rC Clang
https://reviews.llvm.org/D45311
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llv
Author: rjmccall
Date: Sat Apr 7 13:16:47 2018
New Revision: 329513
URL: http://llvm.org/viewvc/llvm-project?rev=329513&view=rev
Log:
Generalize the swiftcall API since being passed indirectly isn't
C++-specific anymore.
Modified:
cfe/trunk/include/clang/CodeGen/SwiftCallingConv.h
cfe/tr
rsmith added a comment.
In https://reviews.llvm.org/D45406#1060773, @dim wrote:
> In https://reviews.llvm.org/D45406#1060768, @mgorny wrote:
>
> > To be honest, I find those '(deprecated)' confusing — the user may
> > mistakenly assume that it's about all values rather than the alias.
>
>
> Sure
This revision was automatically updated to reflect the committed changes.
Closed by commit rC329512: [Driver] Update GCC libraries detection logic for
Gentoo. (authored by manojgupta, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45233?vs=141295&id=141501#toc
Repository:
Author: manojgupta
Date: Sat Apr 7 12:59:58 2018
New Revision: 329512
URL: http://llvm.org/viewvc/llvm-project?rev=329512&view=rev
Log:
[Driver] Update GCC libraries detection logic for Gentoo.
Summary:
1. Find GCC's LDPATH from the actual GCC config file.
2. Avoid picking libraries from a simil
Hi Alex,
The two tests you added in this commit seem to be failing because of a crash on
one of the Windows bots. Can you take a look?
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/8912
FAIL: Clang :: Index/create-libclang-parsing-reproducer.c (7891 of 37034)
*
dim added a comment.
In https://reviews.llvm.org/D45406#1060768, @mgorny wrote:
> To be honest, I find those '(deprecated)' confusing — the user may mistakenly
> assume that it's about all values rather than the alias.
Sure, what would you suggest as an alternative? Not listing them, listing
mgorny added a comment.
To be honest, I find those '(deprecated)' confusing — the user may mistakenly
assume that it's about all values rather than the alias.
Comment at: docs/CommandGuide/clang.rst:105
+
+ Supported options for the C language are:
+
s/options
dim created this revision.
dim added reviewers: rsmith, dexonsmith, sylvestre.ledru, mgorny.
Herald added subscribers: krytarowski, fhahn.
After a remark on a FreeBSD mailing list that the clang man page did
not have any list of possible values for the `-std=` flag, I have now
attempted to exhaust
mgorny accepted this revision.
mgorny added a comment.
This revision is now accepted and ready to land.
Works fine, thanks a lot! Note that I haven't tested crossdev or anything
special, just regular multilib.
Repository:
rC Clang
https://reviews.llvm.org/D45233
__
MaskRay added a comment.
Done.
ninja -C ~/Dev/llvm/debug unittests/libclang/libclangTests
~/Dev/llvm/debug/tools/clang/unittests/libclang/libclangTests
Repository:
rC Clang
https://reviews.llvm.org/D42893
___
cfe-commits mailing list
cfe-com
MaskRay updated this revision to Diff 141496.
MaskRay added a comment.
Add unittests/libclang/LibclangTest.cpp test
Repository:
rC Clang
https://reviews.llvm.org/D42893
Files:
include/clang-c/Index.h
tools/libclang/CIndex.cpp
tools/libclang/libclang.exports
unittests/libclang/Libclan
MaskRay updated this revision to Diff 141492.
MaskRay added a comment.
Rebase
Repository:
rC Clang
https://reviews.llvm.org/D42893
Files:
include/clang-c/Index.h
tools/libclang/CIndex.cpp
tools/libclang/libclang.exports
Index: tools/libclang/libclang.exports
=
theraven added a comment.
Isn't it better to test for the correct structure existing in the IR?
Repository:
rC Clang
https://reviews.llvm.org/D45305
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/lis
rjmccall closed this revision.
rjmccall added a comment.
Committed as r329508.
Repository:
rC Clang
https://reviews.llvm.org/D44580
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: rjmccall
Date: Sat Apr 7 10:42:06 2018
New Revision: 329508
URL: http://llvm.org/viewvc/llvm-project?rev=329508&view=rev
Log:
Allow equality comparisons between block pointers and
block-pointer-compatible ObjC object pointer types.
Patch by Dustin Howett!
Added:
cfe/trunk/test/SemaO
rjmccall accepted this revision.
rjmccall added a comment.
Hmm. Alright, I guess.
Repository:
rC Clang
https://reviews.llvm.org/D45305
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
zinovy.nis created this revision.
zinovy.nis added reviewers: angelgarcia, malcolm.parsons, alexfh.
zinovy.nis added a project: clang-tools-extra.
Herald added subscribers: cfe-commits, xazax.hun.
The threshold option is 'MinTypeNameLength' with default value '0' which means
'replace any lengths'
jbcoe added a comment.
Tests for libclang are in clang/unittests/libclang/LibclangTest.cpp
Given the surgical nature of this change I hope it will be quick to add a test.
Repository:
rC Clang
https://reviews.llvm.org/D42893
___
cfe-commits maili
Author: zinovy.nis
Date: Sat Apr 7 04:22:01 2018
New Revision: 329495
URL: http://llvm.org/viewvc/llvm-project?rev=329495&view=rev
Log:
[clang-tidy] Fix compilation for MSVS@PSP4 for ParentVirtualCallCheck.cpp
There's an error for PSP4 platform only:
C:\Program Files (x86)\Microsoft Visual Stud
cpplearner added inline comments.
Comment at: test/CXX/dcl.dcl/dcl.attr/dcl.attr.unused/p2.cpp:5
int I [[maybe_unused]];
- static int SI [[maybe_unused]]; // expected-warning {{'maybe_unused'
attribute only applies to variables, functions, methods, types, enumerations,
enum
mgorny added a comment.
I'm sorry, I see the problem now — the diff generated by Phabricator does not
include the empty files x_x (seriously, this thing keeps surprising me in how
broken it could be). I'm going to try again with correct file set tonight or
tomorrow. If you could send the comple
lebedev.ri added inline comments.
Comment at: test/CXX/dcl.dcl/dcl.attr/dcl.attr.unused/p2.cpp:5
int I [[maybe_unused]];
- static int SI [[maybe_unused]]; // expected-warning {{'maybe_unused'
attribute only applies to variables, functions, methods, types, enumerations,
enum
This revision was automatically updated to reflect the committed changes.
Closed by commit rC329493: [Sema] Extend -Wself-assign and -Wself-assign-field
to warn on overloaded self… (authored by lebedevri, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D44883
Files:
docs/Relea
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329493: [Sema] Extend -Wself-assign and -Wself-assign-field
to warn on overloaded self… (authored by lebedevri, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://
cpplearner created this revision.
cpplearner added reviewers: aaron.ballman, rsmith.
Herald added a subscriber: cfe-commits.
IIUC a static data member is a variable, so [[maybe_unused]] should be allowed
to apply to a static data member.
Repository:
rC Clang
https://reviews.llvm.org/D45403
Author: lebedevri
Date: Sat Apr 7 03:39:21 2018
New Revision: 329493
URL: http://llvm.org/viewvc/llvm-project?rev=329493&view=rev
Log:
[Sema] Extend -Wself-assign and -Wself-assign-field to warn on overloaded
self-assignment (classes)
Summary:
This has just bit me, so i though it would be nice
This revision was automatically updated to reflect the committed changes.
Closed by commit rCXX329490: [libcxx][test] Silence -Wself-assign diagnostics
(authored by lebedevri, committed by ).
Repository:
rCXX libc++
https://reviews.llvm.org/D45128
Files:
test/std/utilities/any/any.class/any
Author: lebedevri
Date: Sat Apr 7 03:36:03 2018
New Revision: 329490
URL: http://llvm.org/viewvc/llvm-project?rev=329490&view=rev
Log:
[libcxx][test] Silence -Wself-assign diagnostics
Summary:
D44883 extends -Wself-assign to also work on C++ classes.
These new warnings pop up in the test suite,
Hahnfeld added a comment.
Can this revision be split further? The summary mentions many things that might
make up multiple independent changes...
Comment at: lib/Driver/ToolChains/Cuda.cpp:263
+// HIP needs c++11.
+CC1Args.push_back("-std=c++11");
+// Skip CUDA inc
lebedev.ri added a comment.
Test?
https://reviews.llvm.org/D45401
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jbcoe added a comment.
I’ll see if I can find a suitable location for a test.
Repository:
rC Clang
https://reviews.llvm.org/D42893
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
60 matches
Mail list logo