ABataev added inline comments.
Comment at: lib/CodeGen/CGStmtOpenMP.cpp:913-929
@@ -912,9 +912,19 @@
});
- } else if (auto *ASE = dyn_cast(IRef)) {
-auto *Base = ASE->getBase()->IgnoreParenImpCasts();
-while (auto *TempASE = dyn_cast(Base))
-
Author: nico
Date: Sun Mar 20 21:48:05 2016
New Revision: 263920
URL: http://llvm.org/viewvc/llvm-project?rev=263920=rev
Log:
clang-cl: Add a comment about /Oy- (see r245913).
Modified:
cfe/trunk/include/clang/Driver/CLCompatOptions.td
Modified:
On Sun, Mar 20, 2016 at 6:25 AM, Joerg Sonnenberger via cfe-commits
wrote:
> On Fri, Mar 18, 2016 at 05:11:19PM +, Richard Smith via cfe-commits wrote:
>> rsmith added a comment.
>>
>> Can you explain a bit more about the problem? It seems to me that if I have:
>>
On Sun, Mar 20, 2016 at 7:05 AM, Renato Golin wrote:
> On 20 March 2016 at 11:33, Richard Smith via cfe-commits
> wrote:
>> Author: rsmith
>> Date: Sun Mar 20 05:33:40 2016
>> New Revision: 263895
>>
>> URL:
mspertus closed this revision.
mspertus added a comment.
Closing accepted revision
http://reviews.llvm.org/D18303
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mspertus added a comment.
Committed as revision 263915.
http://reviews.llvm.org/D18303
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: mps
Date: Sun Mar 20 15:15:23 2016
New Revision: 263915
URL: http://llvm.org/viewvc/llvm-project?rev=263915=rev
Log:
Visual Studio Visualizers for clang::FunctionDecl
Readably displays a FunctionDecl in the Visual Studio Locals Window something
like:
void g(int, double d, struct A &&
mspertus closed this revision.
mspertus added a comment.
Closing committed revision
http://reviews.llvm.org/D18299
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mspertus accepted this revision.
mspertus added a reviewer: mspertus.
mspertus added a comment.
This revision is now accepted and ready to land.
Per Aaron, I want to close the committed diff, but I seem to need to accept it
first. Further discussion as needed on mailing list
mspertus closed this revision.
mspertus added a comment.
Closing committed revision. Further discussion as needed on mailing list
http://reviews.llvm.org/D18297
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mspertus accepted this revision.
mspertus added a reviewer: mspertus.
mspertus added a comment.
This revision is now accepted and ready to land.
Accepting revision based on Aaron's LGTM email to reviews.llvm.org.
http://reviews.llvm.org/D18297
___
This revision was automatically updated to reflect the committed changes.
Closed by commit rL263913: [tsan] Allow -fsanitize=thread for iOS-style
simulator targets (authored by dcoughlin).
Changed prior to commit:
http://reviews.llvm.org/D18280?vs=51076=51132#toc
Repository:
rL LLVM
Author: dcoughlin
Date: Sun Mar 20 13:24:33 2016
New Revision: 263913
URL: http://llvm.org/viewvc/llvm-project?rev=263913=rev
Log:
[tsan] Allow -fsanitize=thread for iOS-style simulator targets
Update the clang driver to allow -fsanitize=thread when targeting x86_64 iOS
and tvOS
simulators.
bruno created this revision.
bruno added reviewers: bob.wilson, dexonsmith.
bruno added a subscriber: cfe-commits.
Previously only 3 digits were valid. Increase it to 5.
http://reviews.llvm.org/D18304
Files:
include/clang/Driver/Driver.h
lib/Driver/Driver.cpp
lib/Driver/Tools.cpp
Author: bogner
Date: Sun Mar 20 11:58:03 2016
New Revision: 263909
URL: http://llvm.org/viewvc/llvm-project?rev=263909=rev
Log:
AST: Fix some bogus indentation. NFC
Noticed by Liu Xin. Thanks!
Modified:
cfe/trunk/lib/AST/ASTImporter.cpp
Modified: cfe/trunk/lib/AST/ASTImporter.cpp
URL:
flx added inline comments.
Comment at: test/clang-tidy/cppcoreguidelines-pro-type-member-init.cpp:94
@@ +93,3 @@
+ bool Bool{false};
+ // CHECK-FIXES: bool Bool{false};
+};
aaron.ballman wrote:
> Why is this checking a fix? I thought that point was that this
Author: rksimon
Date: Sun Mar 20 11:25:23 2016
New Revision: 263908
URL: http://llvm.org/viewvc/llvm-project?rev=263908=rev
Log:
Fixed -Wdocumentation warning
Modified:
cfe/trunk/include/clang/Frontend/FrontendAction.h
Modified: cfe/trunk/include/clang/Frontend/FrontendAction.h
URL:
sfantao added a comment.
Hi Richard,
Thanks for your review. I partitioned some of the stuff I am proposing here in
smaller patches:
http://reviews.llvm.org/D18170
http://reviews.llvm.org/D18171
http://reviews.llvm.org/D18172
These patches already try to incorporate the feedback I got in
ryee88 added a comment.
In http://reviews.llvm.org/D16965#377864, @dblaikie wrote:
> Not sure I fully understand the issue with the existing diagnostic/change in
> wording.
>
> '::' is a nested name specifier, even if it's a degenerate case, I think - so
> the old wording doesn't seem wrong,
baloghadamsoftware updated this revision to Diff 50932.
baloghadamsoftware added a comment.
Previous patch generation failed.
http://reviews.llvm.org/D17986
Files:
include/clang/ASTMatchers/ASTMatchers.h
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/ASTMatchersTest.cpp
bcraig added a comment.
Visual Studio has a flag, /Zc:wchar_t-, that turns wchar_t into a short. This
flag is for people that need to maintain ABI compatibility with ancient Visual
Studios (MSVC6? MSVC5?). It is definitely non-conformant, and many things
support it poorly.
I still have
mspertus created this revision.
mspertus added reviewers: aaron.ballman, zturner.
mspertus added a subscriber: cfe-commits.
Displays a FunctionDecl in the Visual Studio Locals Window something like:
void g(int, double d, struct A && arr)
http://reviews.llvm.org/D18303
Files:
clang.natvis
On Sat, Mar 19, 2016 at 8:29 PM, Mike Spertus wrote:
> mspertus added a comment.
>
> Based on Aaron's agreement to conducting post-commit reviews, I've committed
> this as revision 263890. Please let me know if I should not have done so.
> (This change is a lot smaller and
aaron.ballman added a subscriber: aaron.ballman.
aaron.ballman added a reviewer: aaron.ballman.
Comment at: test/clang-tidy/cppcoreguidelines-pro-type-member-init.cpp:94
@@ +93,3 @@
+ bool Bool{false};
+ // CHECK-FIXES: bool Bool{false};
+};
Why is this
aaron.ballman added a subscriber: aaron.ballman.
Comment at: cppcoreguidelines/ProTypeMemberInitCheck.cpp:183
@@ +182,3 @@
+ // Skip delayed template instantiation declarations.
+ const auto *Body = Ctor->getBody();
+ if (!Body)
Please do not use auto here
mspertus added a comment.
Committed as revision 263638. At Chandler's suggestion, I am going to send an
announcement to cfe-dev letting people know of all of the recent improvements
to native visualizers
http://reviews.llvm.org/D18163
___
Author: d0k
Date: Sun Mar 20 09:24:49 2016
New Revision: 263900
URL: http://llvm.org/viewvc/llvm-project?rev=263900=rev
Log:
[clang-tidy] Update check for API change in r263895.
for range stmts now have split begin and ends, just apply OR to the
condition. Should unbreak the build.
Modified:
On 20 March 2016 at 11:33, Richard Smith via cfe-commits
wrote:
> Author: rsmith
> Date: Sun Mar 20 05:33:40 2016
> New Revision: 263895
>
> URL: http://llvm.org/viewvc/llvm-project?rev=263895=rev
> Log:
> P0184R0: Allow types of 'begin' and 'end' expressions in
rnk added a comment.
I'm not sure your example is in scope for -Wshadow, though. Any function call
that takes a non-const reference to the parameter could modify it. I guess I'm
thinking something like:
void trim_in_place(std::string );
struct A {
std::string s;
A(std::string s) :
On Fri, Mar 18, 2016 at 12:11:22PM -0500, Craig, Ben via cfe-commits wrote:
> A lot of it is a frontend decision. What goes in the libcall feels an awful
> lot like the 386 vs 486 example that I hear a lot. If I want one binary
> that can run on both a 386 (very limited atomic support) and a 486
On Fri, Mar 18, 2016 at 05:11:19PM +, Richard Smith via cfe-commits wrote:
> rsmith added a comment.
>
> Can you explain a bit more about the problem? It seems to me that if I have:
>
> struct Base {
> char k[1];
> };
> struct Derived : Base {};
>
> ... then the 'k' subobject of a
On Sun, Mar 20, 2016 at 3:08 AM, Bruno Cardoso Lopes via cfe-commits
wrote:
> Author: bruno
> Date: Sat Mar 19 21:08:48 2016
> New Revision: 263893
>
> URL: http://llvm.org/viewvc/llvm-project?rev=263893=rev
> Log:
> Reapply [2] [VFS] Add 'overlay-relative' field to
Nice! Thanks Benjamin
On Thu, Mar 17, 2016 at 9:19 AM, Benjamin Kramer via cfe-commits
wrote:
> Author: d0k
> Date: Thu Mar 17 11:19:51 2016
> New Revision: 263718
>
> URL: http://llvm.org/viewvc/llvm-project?rev=263718=rev
> Log:
> Use a simpler set of mock headers
Hi Daniel,
I'm not sure I understand the logic behind modifying 'AlwaysBreak' to be
'AlwaysBreakExceptForSingleArgument'.
AlwaysBreak is always going to lead to "wasted space".
Some consider consistently break to not be a waste but actually contribute
to readability, it seems that was what
JVApen accepted this revision.
JVApen added a comment.
This revision is now accepted and ready to land.
I'm not sure if I'm the right person to do reviews, as I'm mostly a user of the
tool and have not yet done any developments or bug fixes to it.
However, from what I know from coding, this
Author: rsmith
Date: Sun Mar 20 05:33:40 2016
New Revision: 263895
URL: http://llvm.org/viewvc/llvm-project?rev=263895=rev
Log:
P0184R0: Allow types of 'begin' and 'end' expressions in range-based for loops
to differ.
Modified:
cfe/trunk/include/clang/AST/StmtCXX.h
pxli168 updated this revision to Diff 51126.
http://reviews.llvm.org/D17596
Files:
lib/CodeGen/TargetInfo.cpp
test/CodeGenOpenCL/spir_version.cl
Index: test/CodeGenOpenCL/spir_version.cl
===
--- /dev/null
+++
pxli168 marked 2 inline comments as done.
pxli168 added a comment.
http://reviews.llvm.org/D17596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
pxli168 added inline comments.
Comment at: test/CodeGenOpenCL/spir_version.cl:15
@@ +14,2 @@
+// CL20: !opencl.ocl.version = !{[[SPIR:![0-9]+]]}
+// CL20: [[SPIR]] = !{i32 2, i32 0}
Anastasia wrote:
> Forgotten to check OpenCL version here?
The metadate will be
samsonov added a comment.
Cool, great to see this coming. I'll let Kuba sign this off.
Comment at: test/Driver/fsanitize.c:220
@@ -219,1 +219,3 @@
+// RUN: %clang -target x86_64-apple-darwin10 -fsanitize=thread %s -### 2>&1 |
FileCheck %s
Prazek updated this revision to Diff 51087.
http://reviews.llvm.org/D18274
Files:
clang-tidy/CMakeLists.txt
clang-tidy/boost/BoostTidyModule.cpp
clang-tidy/boost/CMakeLists.txt
clang-tidy/plugin/CMakeLists.txt
clang-tidy/tool/CMakeLists.txt
clang-tidy/tool/ClangTidyMain.cpp
Author: d0k
Date: Fri Mar 18 08:31:00 2016
New Revision: 263785
URL: http://llvm.org/viewvc/llvm-project?rev=263785=rev
Log:
Make LookupResult movable again.
We lost copy semantics in r263730, because it only worked for a few very
specific cases. Move semantics don't have this issue. Sadly the
etienneb updated this revision to Diff 51046.
etienneb marked 2 inline comments as done.
etienneb added a comment.
Added test.
http://reviews.llvm.org/D18262
Files:
ClangTidy.cpp
misc-macro-parentheses-cmdline.cpp
Index: misc-macro-parentheses-cmdline.cpp
rsmith added a comment.
Note that the diagnostic wording has already been fixed compared with the
diagnostic reported in that bug report. Do we actually need more changes here?
http://reviews.llvm.org/D16965
___
cfe-commits mailing list
hintonda updated this revision to Diff 50930.
hintonda added a comment.
Fixed comment per Dave's recommendation.
http://reviews.llvm.org/D18123
Files:
include/clang/AST/UnresolvedSet.h
include/clang/Sema/Lookup.h
Index: include/clang/Sema/Lookup.h
Author: bruno
Date: Thu Mar 17 16:30:55 2016
New Revision: 263750
URL: http://llvm.org/viewvc/llvm-project?rev=263750=rev
Log:
Revert "Reapply [VFS] Add 'overlay-relative' field to YAML files"
Tests failing on
http://bb.pgr.jp/builders/cmake-clang-x86_64-linux/builds/46102
This reverts commit
Author: mps
Date: Wed Mar 16 09:27:50 2016
New Revision: 263638
URL: http://llvm.org/viewvc/llvm-project?rev=263638=rev
Log:
Add visualizers for more clang types. Create more C++-like visualizations for
existing Clang types
Created visualizer for PointerType, LValueReferenceType,
mspertus added a comment.
I think the code is correct as written, see response in comment
Comment at: clang.natvis:77
@@ +76,3 @@
+
+
+
aaron.ballman wrote:
> The only hard-wiring I see uses 3 bits, so is this comment still accurate?
I think the code is
pcc updated this revision to Diff 51061.
pcc added a comment.
- Use a vindex of 0 for non-virtuals
http://reviews.llvm.org/D18199
Files:
docs/UsersManual.rst
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CGVTables.h
lib/CodeGen/CodeGenFunction.h
sfantao added a comment.
Hi Alexey,
I am sorry but I don't think I am following. So in your example:
#pragma omp target map(to: this->A)
[]()->void {++A}();
the map clause is going to make sure the runtime library allocates the section
of `this` that contains A and that is what is used in
rjmccall added inline comments.
Comment at: lib/Sema/SemaDeclCXX.cpp:4935-4943
@@ +4934,11 @@
+
+ bool HasStableAttr = Record->hasAttr();
+ bool HasUnstableAttr = Record->hasAttr();
+ if (HasStableAttr && HasUnstableAttr) {
+Diag(Record->getLocation(),
2016-03-18 0:35 GMT+06:00 Arthur O'Dwyer :
> I'm not qualified to comment on the implementation, but I'm a bit
> skeptical that this warning is appropriate in the first place. I've often
> declared friend non-template functions, e.g. swap(). I've never intended to
>
52 matches
Mail list logo