mgehre added a comment.
I see. Thinking about this, the same issue should also apply to a throw
inside the compound stmt. And it's not only about suppressing the dtors but
any CFG entries after return/throw. I'll prepare an updated patch.
Manuel Klimek schrieb am So., 1. Nov. 2015 23:04:
> klim
ahatanak added inline comments.
Comment at: lib/Sema/SemaDecl.cpp:5374
@@ +5373,3 @@
+
+ // Virtual functions cannot be marked as 'notail'.
+ if (auto *Attr = ND.getAttr())
aaron.ballman wrote:
> Is there a reason this is here instead of SemaDeclAttr.cpp? It see
sabel83 added a comment.
Hi Manuel,
The patch is maintained in the Templight git repository
(https://github.com/mikael-s-persson/templight/blob/master/templight_clang_patch.diff).
I've written some tests for it (based on our discussion at CppCon), they are
under review at the moment (see
http
abeserminji updated this revision to Diff 38795.
abeserminji added a comment.
Modified comments as suggested by @rjmccall
Repository:
rL LLVM
http://reviews.llvm.org/D14149
Files:
lib/CodeGen/CGBuiltin.cpp
test/Analysis/builtin_signbit.cpp
Index: test/Analysis/builtin_signbit.cpp
==
Author: dehao
Date: Fri Oct 30 00:08:43 2015
New Revision: 251691
URL: http://llvm.org/viewvc/llvm-project?rev=251691&view=rev
Log:
Update debug-info-scope test to remove "FIXME", which is fixed in r251689
Modified:
cfe/trunk/test/CodeGen/debug-info-scope.c
Modified: cfe/trunk/test/CodeGen/d
milianw accepted this revision.
milianw added a comment.
This revision is now accepted and ready to land.
+1 from my side, but someone else has to approve
http://reviews.llvm.org/D13844
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://
aaron.ballman added inline comments.
Comment at: clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp:49
@@ +48,3 @@
+diag(MatchedCast->getLocStart(),
+ "do not use c-style cast to convert between unrelated types");
+return;
"C-style" instead of
On Sun, Nov 1, 2015 at 2:31 PM, Joerg Sonnenberger via cfe-commits
wrote:
> On Tue, Oct 27, 2015 at 06:10:26PM +, Samuel Benzaquen via cfe-commits
> wrote:
>> sbenza added a comment.
>>
>> In http://reviews.llvm.org/D14096#275902, @xazax.hun wrote:
>>
>> > There is already a similar check in
aaron.ballman added a comment.
Mostly looks good; the only thing left is a test to ensure the fixits are
placing the parens in the expected location.
Comment at: lib/Sema/SemaChecking.cpp:6725
@@ -6706,1 +6724,3 @@
static void AnalyzeComparison(Sema &S, BinaryOperator *E) {
+
aaron.ballman added inline comments.
Comment at: lib/Sema/SemaDecl.cpp:5374
@@ +5373,3 @@
+
+ // Virtual functions cannot be marked as 'notail'.
+ if (auto *Attr = ND.getAttr())
Is there a reason this is here instead of SemaDeclAttr.cpp? It seems like the
decl
aaron.ballman requested changes to this revision.
aaron.ballman added a comment.
This revision now requires changes to proceed.
This is coming along nicely! There are some minor nits that should be trivial
to fix, but the fatal errors need to become semantic errors, and some tests are
missing.
Ariel Arelovich via cfe-commits writes:
> Great.
>
> So this is what I wanted to know. I think understand what you are saying.
> You are saying that most of the work that I would need to do from the AST
> (I'm assuming that this stands from Abstract Syntax Tree) is allready being
> done by LLVM an
bkramer accepted this revision.
bkramer added a comment.
Looks good to me too, do you have commit access?
http://reviews.llvm.org/D13844
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
klimek added a reviewer: jordan_rose.
klimek added a comment.
+jordan for an opinion on whether we want to fix the more general case.
My main problem is that while we're at it we need to fully understand the
change anyway, and if somebody runs into this later, they'll need a long time
debuggin
mgehre updated this revision to Diff 38857.
mgehre added a comment.
Review comments: Formating and changed diag messages
http://reviews.llvm.org/D14096
Files:
clang-tidy/cppcoreguidelines/CMakeLists.txt
clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
clang-tidy/cppcoreguideli
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM!
Comment at: clang-tidy/misc/UnusedParametersCheck.cpp:25
@@ +24,3 @@
+template
+static CharSourceRange removeNode(const MatchFinder::MatchResult &Result,
mgehre added inline comments.
Comment at: lib/Analysis/CFG.cpp:1949-1952
@@ +1948,6 @@
+ }
+ if (!C->body_empty() && !isa(*C->body_rbegin())) {
+// If the body ends with a ReturnStmt, the dtors will be added in
VisitReturnStmt
+addAutomaticObjDtors(ScopePos, scopeBeginP
Author: marshall
Date: Sun Nov 1 15:14:22 2015
New Revision: 251768
URL: http://llvm.org/viewvc/llvm-project?rev=251768&view=rev
Log:
Add 'nostdinc++' to the flags used by testit. Makes the tests run better on Mac
OS X with the new depr.c headers change
Modified:
libcxx/trunk/test/testit
M
Author: marshall
Date: Sun Nov 1 15:13:10 2015
New Revision: 251767
URL: http://llvm.org/viewvc/llvm-project?rev=251767&view=rev
Log:
Improve the tests for 'is_literal_type'
Modified:
libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp
Modified:
libcxx
On Tue, Oct 27, 2015 at 06:10:26PM +, Samuel Benzaquen via cfe-commits
wrote:
> sbenza added a comment.
>
> In http://reviews.llvm.org/D14096#275902, @xazax.hun wrote:
>
> > There is already a similar check in the Google package. What are the
> > differences between those two checks? What i
Thanks, Richard! Just to confirm, the test is passing now.
Michael
> On Oct 29, 2015, at 5:22 PM, Richard Smith wrote:
>
> I reverted this change in r251665, and started a new thread for the patch to
> reinstate this and fix the ambiguity issue.
>
> On Wed, Oct 28, 2015 at 11:01 AM, Michael Z
klimek added inline comments.
Comment at: lib/Analysis/CFG.cpp:1949-1952
@@ +1948,6 @@
+ }
+ if(!C->body_empty() && !dyn_cast(*C->body_rbegin())) {
+// If the body ends with a ReturnStmt, the dtors will be added in
VisitReturnStmt
+addAutomaticObjDtors(ScopePos, scopeBe
On Fri, Oct 23, 2015 at 9:31 PM Sean Silva wrote:
> On Tue, Oct 20, 2015 at 1:52 AM, Manuel Klimek wrote:
>
>> On Tue, Oct 20, 2015 at 10:41 AM Sean Silva
>> wrote:
>>
>>> On Tue, Oct 20, 2015 at 1:38 AM, Manuel Klimek
>>> wrote:
>>>
On Tue, Oct 20, 2015 at 5:52 AM Sean Silva
wrote:
klimek added a subscriber: klimek.
klimek added a comment.
Is this still the most current patch out there?
http://reviews.llvm.org/D5767
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
PR25368, https://llvm.org/bugs/show_bug.cgi?id=25368
Thanks!
On Sat, Oct 31, 2015 at 2:30 AM NAKAMURA Takumi
wrote:
> I know. The builder was red for weeks (or months).
> Please be patient for my work. It's green now.
>
> I'll file bugs, two issues, when I got a slack time.
>
> 2015年10月30日(金) 9
klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.
lg
http://reviews.llvm.org/D14145
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
davide added a comment.
Gentle ping.
Repository:
rL LLVM
http://reviews.llvm.org/D13854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
On Sun, Nov 1, 2015 at 12:01 AM, James Dennett
wrote:
> On Sat, Oct 31, 2015 at 5:50 PM, Nico Weber via cfe-commits <
> cfe-commits@lists.llvm.org> wrote:
>
>> I think we more commonly say "function pointer":
>>
>> $ grep 'pointer-to-function' include/clang/Basic/Diagnostic*td | wc -l
>>3
sisnkemp created this revision.
sisnkemp added a subscriber: cfe-commits.
When using -pg in combination with optimizations (e.g. -O3), compiled programs
crash in the profiling routine mcount().
This is because mcount (on x86_64 at least) relies on the frame pointer to be
valid. See test case to
mkuper accepted this revision.
mkuper added a comment.
This revision is now accepted and ready to land.
LGTM
Comment at: lib/Basic/Targets.cpp:2327
@@ -2325,3 +2326,3 @@
// X87 evaluates with 80 bits "long double" precision.
return SSELevel == NoSSE ? 2 : 0;
}
-
On Sat, Oct 31, 2015 at 5:50 PM, Nico Weber via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> I think we more commonly say "function pointer":
>
> $ grep 'pointer-to-function' include/clang/Basic/Diagnostic*td | wc -l
>3
> $ grep 'function pointer' include/clang/Basic/Diagnostic*td |
31 matches
Mail list logo