Author: matthewbg
Date: Fri Feb 24 02:37:56 2012
New Revision: 151356
URL: http://llvm.org/viewvc/llvm-project?rev=151356view=rev
Log:
Sink variable into assert
Modified:
cfe/trunk/lib/Sema/SemaInit.cpp
Modified: cfe/trunk/lib/Sema/SemaInit.cpp
URL:
Author: nicholas
Date: Fri Feb 24 02:58:14 2012
New Revision: 151357
URL: http://llvm.org/viewvc/llvm-project?rev=151357view=rev
Log:
Silence gcc warnings pointing out that CharByteWidth could be used
uninitialized. While there, restyle this function! No functionality change.
Modified:
Author: nicholas
Date: Fri Feb 24 03:07:53 2012
New Revision: 151359
URL: http://llvm.org/viewvc/llvm-project?rev=151359view=rev
Log:
Revert r151357. That unreachable is reachable...
Modified:
cfe/trunk/lib/AST/Expr.cpp
Modified: cfe/trunk/lib/AST/Expr.cpp
URL:
Awesome, thanks!
Howard
On Feb 24, 2012, at 2:38 AM, Douglas Gregor wrote:
Author: dgregor
Date: Fri Feb 24 01:38:34 2012
New Revision: 151352
URL: http://llvm.org/viewvc/llvm-project?rev=151352view=rev
Log:
Implement a new type trait __is_trivially_constructible(T, Args...)
that
This doesn't work for C. For example, in
struct A {
#pragma GCC visibility push(protected)
#pragma GCC visibility pop
};
we produce
home/espindola/llvm/test.c:2:15: error: type name requires a specifier
or qualifier
#pragma GCC visibility push(protected)
and in c++, we don't produce an
On Feb 24, 2012, at 2:26 AM, Ahmed Charles wrote:
Fairly straight forward changes to allow ArrayRefExpr* rather than
Expr** and int.
Looks great, please commit!
-Chris
___
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
Author: rafael
Date: Fri Feb 24 10:22:39 2012
New Revision: 151367
URL: http://llvm.org/viewvc/llvm-project?rev=151367view=rev
Log:
Use -no-integrated-as only on ARM. The X86 and X86-64 integrated as have been
the default for clang for some time now and can handle compiler-rt.
Modified:
Author: zaks
Date: Fri Feb 24 10:49:41 2012
New Revision: 151368
URL: http://llvm.org/viewvc/llvm-project?rev=151368view=rev
Log:
[analyzer] We were silently stopping exploring the path after
visiting 'return;' statement!
This most likely caused us to skip a bunch of code when analyzing with
Author: zaks
Date: Fri Feb 24 10:49:46 2012
New Revision: 151369
URL: http://llvm.org/viewvc/llvm-project?rev=151369view=rev
Log:
[analyzer] Run remove dead bindings before each call.
This ensures that we report the bugs associated with symbols going
out of scope in the correct function context.
Author: fjahanian
Date: Fri Feb 24 11:35:35 2012
New Revision: 151371
URL: http://llvm.org/viewvc/llvm-project?rev=151371view=rev
Log:
objc modern translator. Fixes writing of block pointer ivar access.
Added:
cfe/trunk/test/Rewriter/rewrite-modern-block-ivar-call.mm
Modified:
Author: dgregor
Date: Fri Feb 24 11:41:38 2012
New Revision: 151372
URL: http://llvm.org/viewvc/llvm-project?rev=151372view=rev
Log:
Two minor, related fixes for template instantiation with blocks:
- Make sure that the block expression is instantiation-dependent if the
block is in a
On Fri, Feb 24, 2012 at 1:07 AM, Nick Lewycky nicho...@mxc.ca wrote:
Author: nicholas
Date: Fri Feb 24 03:07:53 2012
New Revision: 151359
URL: http://llvm.org/viewvc/llvm-project?rev=151359view=rev
Log:
Revert r151357. That unreachable is reachable...
Modified:
Author: fjahanian
Date: Fri Feb 24 12:03:42 2012
New Revision: 151376
URL: http://llvm.org/viewvc/llvm-project?rev=151376view=rev
Log:
more objective-c modern translator ivar tests.
Added:
cfe/trunk/test/Rewriter/rewrite-modern-nested-ivar.mm
Added:
Author: rsmith
Date: Fri Feb 24 12:10:23 2012
New Revision: 151377
URL: http://llvm.org/viewvc/llvm-project?rev=151377view=rev
Log:
__decltype is a GNU extension, not a C++11 extension.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
Author: fjahanian
Date: Fri Feb 24 12:17:50 2012
New Revision: 151378
URL: http://llvm.org/viewvc/llvm-project?rev=151378view=rev
Log:
test for writing modern ivar of struct type.
Added:
cfe/trunk/test/Rewriter/rewrite-modern-struct-ivar.mm
Added:
On Feb 23, 2012, at 5:12 PM, Argyrios Kyrtzidis wrote:
Author: akirtzidis
Date: Thu Feb 23 19:12:38 2012
New Revision: 151330
URL: http://llvm.org/viewvc/llvm-project?rev=151330view=rev
Log:
[PCH] When keeping track of top-level decls for targeted deserialization
make sure we don't
Author: rsmith
Date: Fri Feb 24 12:42:08 2012
New Revision: 151381
URL: http://llvm.org/viewvc/llvm-project?rev=151381view=rev
Log:
cxx_status: Consistently refer to C++11 as C++11, not as C++'11 nor as
C++0x. Use C++98 to refer to C++98, not C++. Add heading for C++98
support section.
Modified:
On Feb 24, 2012, at 10:27 AM, Douglas Gregor wrote:
On Feb 23, 2012, at 5:12 PM, Argyrios Kyrtzidis wrote:
Author: akirtzidis
Date: Thu Feb 23 19:12:38 2012
New Revision: 151330
URL: http://llvm.org/viewvc/llvm-project?rev=151330view=rev
Log:
[PCH] When keeping track of top-level
Hello,
following the discussion in cfe-dev[*], I decided to put my money where my
mouth is and have attached a patch
that makes it possible to use __has_feature(__feature__) in place of
__has_feature(feature) to protect the
feature name in case the user defines a macro with the same name.
I
Author: akirtzidis
Date: Fri Feb 24 13:45:42 2012
New Revision: 151386
URL: http://llvm.org/viewvc/llvm-project?rev=151386view=rev
Log:
[libclang] Add a triple to the test.
Modified:
cfe/trunk/test/Index/targeted-cursor.m
Modified: cfe/trunk/test/Index/targeted-cursor.m
URL:
On Feb 23, 2012, at 8:26 PM, David Blaikie wrote:
On Thu, Feb 23, 2012 at 5:12 PM, Argyrios Kyrtzidis akyr...@gmail.com wrote:
Author: akirtzidis
Date: Thu Feb 23 19:12:38 2012
New Revision: 151330
URL: http://llvm.org/viewvc/llvm-project?rev=151330view=rev
Log:
[PCH] When keeping track
Author: akirtzidis
Date: Fri Feb 24 13:45:46 2012
New Revision: 151387
URL: http://llvm.org/viewvc/llvm-project?rev=151387view=rev
Log:
Change the text of a FIXME.
Modified:
cfe/trunk/lib/Serialization/ASTWriter.cpp
Modified: cfe/trunk/lib/Serialization/ASTWriter.cpp
URL:
Author: gribozavr
Date: Fri Feb 24 14:03:35 2012
New Revision: 151389
URL: http://llvm.org/viewvc/llvm-project?rev=151389view=rev
Log:
Fix comment: correct predicate name, reformat comment.
Modified:
cfe/trunk/lib/Sema/SemaExprCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp
URL:
(ping) Here's a patch to CMakeLists so that libclang.dll gets
installed properly to the bin/ directory for Windows targets. Let me
know if any changes are needed. Thanks.
-Joe
clang-dll-install.diff
Description: Binary data
___
cfe-commits mailing
On Feb 24, 2012, at 11:24 AM, Tom Care tom.c...@uqconnect.edu.au wrote:
As for the general solution to the reclaimed ExplodedNodes, should I file a
bug against it?
Sure. That will serve as a useful focal point for discussion.
___
cfe-commits
Author: dgregor
Date: Fri Feb 24 15:25:53 2012
New Revision: 151394
URL: http://llvm.org/viewvc/llvm-project?rev=151394view=rev
Log:
C++11 [class.ctor]p5 says that
A defaulted default constructor for a class X is defined as deleted if [...]
- X is a union and all of its variant members are
On Fri, Feb 24, 2012 at 10:10 AM, Richard Smith
richard-l...@metafoo.co.uk wrote:
Author: rsmith
Date: Fri Feb 24 12:10:23 2012
New Revision: 151377
URL: http://llvm.org/viewvc/llvm-project?rev=151377view=rev
Log:
__decltype is a GNU extension, not a C++11 extension.
We don't normally warn
I managed to get in touch with some folks at Intel to get their
thoughts on this. Milind has some recommendations.
On Sat, Feb 11, 2012 at 11:53 PM, Jeffrey Yasskin jyass...@googlers.com wrote:
On Wed, Oct 12, 2011 at 11:55 AM, Jeffrey Yasskin jyass...@google.com wrote:
[+ Lawrence who's been
Author: fjahanian
Date: Fri Feb 24 15:42:38 2012
New Revision: 151395
URL: http://llvm.org/viewvc/llvm-project?rev=151395view=rev
Log:
Minor modern rewriter bug showed up during testing
against a large project.
Modified:
cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp
Modified:
Author: d0k
Date: Fri Feb 24 16:19:42 2012
New Revision: 151400
URL: http://llvm.org/viewvc/llvm-project?rev=151400view=rev
Log:
Make helper static.
Modified:
cfe/trunk/lib/Sema/SemaType.cpp
Modified: cfe/trunk/lib/Sema/SemaType.cpp
URL:
On Feb 24, 2012, at 11:47 AM, Jonathan Sauer wrote:
Hello,
following the discussion in cfe-dev[*], I decided to put my money where my
mouth is and have attached a patch
that makes it possible to use __has_feature(__feature__) in place of
__has_feature(feature) to protect the
feature
Author: rsmith
Date: Fri Feb 24 16:30:04 2012
New Revision: 151401
URL: http://llvm.org/viewvc/llvm-project?rev=151401view=rev
Log:
Back out __decltype warning from r151377: we should either warn on all the GNU
__keywords or none of them.
Modified:
On Fri, Feb 24, 2012 at 1:50 PM, Eli Friedman eli.fried...@gmail.comwrote:
On Fri, Feb 24, 2012 at 10:10 AM, Richard Smith
richard-l...@metafoo.co.uk wrote:
Author: rsmith
Date: Fri Feb 24 12:10:23 2012
New Revision: 151377
URL: http://llvm.org/viewvc/llvm-project?rev=151377view=rev
On Fri, Feb 24, 2012 at 2:35 PM, Richard Smith rich...@metafoo.co.uk wrote:
On Fri, Feb 24, 2012 at 1:50 PM, Eli Friedman eli.fried...@gmail.com
wrote:
On Fri, Feb 24, 2012 at 10:10 AM, Richard Smith
richard-l...@metafoo.co.uk wrote:
Author: rsmith
Date: Fri Feb 24 12:10:23 2012
New
On Fri, Feb 24, 2012 at 2:12 PM, Richard Smith
richard-l...@metafoo.co.uk wrote:
Author: rsmith
Date: Fri Feb 24 16:12:32 2012
New Revision: 151399
URL: http://llvm.org/viewvc/llvm-project?rev=151399view=rev
Log:
When checking whether a reference to a variable is an ICE, look at the type of
On Fri, Feb 24, 2012 at 2:40 PM, Douglas Gregor dgre...@apple.com wrote:
Author: dgregor
Date: Fri Feb 24 16:40:36 2012
New Revision: 151403
URL: http://llvm.org/viewvc/llvm-project?rev=151403view=rev
Log:
For the purposes of building LLVM types, a forward-declared
enumeration type with a
On Fri, Feb 24, 2012 at 2:54 PM, Eli Friedman eli.fried...@gmail.comwrote:
On Fri, Feb 24, 2012 at 2:12 PM, Richard Smith
richard-l...@metafoo.co.uk wrote:
Author: rsmith
Date: Fri Feb 24 16:12:32 2012
New Revision: 151399
URL: http://llvm.org/viewvc/llvm-project?rev=151399view=rev
Author: rsmith
Date: Fri Feb 24 17:21:24 2012
New Revision: 151405
URL: http://llvm.org/viewvc/llvm-project?rev=151405view=rev
Log:
Remove FIXME: as Eli points out, the behavior here is now correct.
Modified:
cfe/trunk/test/SemaCXX/lambda-expressions.cpp
Modified:
Le 24 févr. 2012 à 20:47, Jonathan Sauer a écrit :
Hello,
following the discussion in cfe-dev[*], I decided to put my money where my
mouth is and have attached a patch
that makes it possible to use __has_feature(__feature__) in place of
__has_feature(feature) to protect the
feature
Le 24 févr. 2012 à 20:47, Jonathan Sauer a écrit :
Hello,
following the discussion in cfe-dev[*], I decided to put my money where my
mouth is and have attached a patch
that makes it possible to use __has_feature(__feature__) in place of
__has_feature(feature) to protect the
feature
Author: hhinnant
Date: Fri Feb 24 17:32:26 2012
New Revision: 151406
URL: http://llvm.org/viewvc/llvm-project?rev=151406view=rev
Log:
Hook up to the new clang __is_trivially_constructible and
__is_trivially_assignable traits. Fixes r10925427 and
http://llvm.org/bugs/show_bug.cgi?id=12038.
Author: efriedma
Date: Fri Feb 24 17:53:49 2012
New Revision: 151407
URL: http://llvm.org/viewvc/llvm-project?rev=151407view=rev
Log:
Fix a stupid mistake in r151133. Reported to me by Joerg Sonnenberger.
Modified:
cfe/trunk/lib/CodeGen/CGExprAgg.cpp
cfe/trunk/test/CodeGen/init.c
Author: dgregor
Date: Fri Feb 24 17:56:31 2012
New Revision: 151409
URL: http://llvm.org/viewvc/llvm-project?rev=151409view=rev
Log:
Implement C++11 [over.match.copy]p1b2, which allows the use of
explicit conversion functions to initialize the argument to a
copy/move constructor that itself is
Author: dgregor
Date: Fri Feb 24 17:57:42 2012
New Revision: 151411
URL: http://llvm.org/viewvc/llvm-project?rev=151411view=rev
Log:
Add test for C++ DR899.
Modified:
cfe/trunk/test/CXX/over/over.match/over.match.funcs/over.match.copy/p1.cpp
Modified:
Author: zaks
Date: Fri Feb 24 17:56:53 2012
New Revision: 151410
URL: http://llvm.org/viewvc/llvm-project?rev=151410view=rev
Log:
[analyzer] Malloc: reason about the ObjC messages and C++.
Assume none of the ObjC messages defined in system headers free memory,
except for the ones containing
Author: dgregor
Date: Fri Feb 24 18:06:47 2012
New Revision: 151412
URL: http://llvm.org/viewvc/llvm-project?rev=151412view=rev
Log:
Simplify check per Eli's comment
Modified:
cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
URL:
On Feb 24, 2012, at 3:02 PM, Eli Friedman eli.fried...@gmail.com wrote:
On Fri, Feb 24, 2012 at 2:40 PM, Douglas Gregor dgre...@apple.com wrote:
Author: dgregor
Date: Fri Feb 24 16:40:36 2012
New Revision: 151403
URL: http://llvm.org/viewvc/llvm-project?rev=151403view=rev
Log:
For the
Author: delesley
Date: Fri Feb 24 18:11:55 2012
New Revision: 151413
URL: http://llvm.org/viewvc/llvm-project?rev=151413view=rev
Log:
Bugfix: bogus warning -- invalid use of non-static data member,
when a class is forward declared, and the reference to the data
member in question does not occur
On 25.02.2012, at 01:12, Douglas Gregor dgre...@apple.com wrote:
Author: dgregor
Date: Fri Feb 24 18:06:47 2012
New Revision: 151412
URL: http://llvm.org/viewvc/llvm-project?rev=151412view=rev
Log:
Simplify check per Eli's comment
Modified:
cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
Author: dgregor
Date: Fri Feb 24 18:16:17 2012
New Revision: 151414
URL: http://llvm.org/viewvc/llvm-project?rev=151414view=rev
Log:
Trying to increase my Ohloh ranking with trivial tweaks
Modified:
cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
URL:
Author: efriedma
Date: Fri Feb 24 18:23:44 2012
New Revision: 151416
URL: http://llvm.org/viewvc/llvm-project?rev=151416view=rev
Log:
Improve the diagnostic in ARC mode when a conditional with an Objective-C type
and void* is used. rdar://problem/10486347.
Modified:
Author: akirtzidis
Date: Fri Feb 24 19:57:42 2012
New Revision: 151424
URL: http://llvm.org/viewvc/llvm-project?rev=151424view=rev
Log:
[arcmt] GC migrator: don't try to remove redundant __strong, it does
more harm than good.
Fixes rdar://1052280510521433
Modified:
Author: kremenek
Date: Fri Feb 24 20:09:09 2012
New Revision: 151426
URL: http://llvm.org/viewvc/llvm-project?rev=151426view=rev
Log:
RetainCountChecker: don't adjust the retain count when analyzing a ReturnStmt
unless we are in the top-level call frame. We can do more later, but this
makes
Author: akirtzidis
Date: Fri Feb 24 20:41:16 2012
New Revision: 151427
URL: http://llvm.org/viewvc/llvm-project?rev=151427view=rev
Log:
Don't record nested macro expansions in the preprocessing record,
it can only bring pain when dealing with preprocessor abuse (see: boost).
rdar://10898986
Author: efriedma
Date: Fri Feb 24 20:48:22 2012
New Revision: 151428
URL: http://llvm.org/viewvc/llvm-project?rev=151428view=rev
Log:
Work-in-progress for lambda conversion-to-block operator. Still need to
implement the retain+autorelease outside of ARC, and there's a bug that causes
the
Author: mcrosier
Date: Fri Feb 24 20:56:13 2012
New Revision: 151430
URL: http://llvm.org/viewvc/llvm-project?rev=151430view=rev
Log:
Prevent llvm.lifetime intrinsics from being emitted at -O0.
rdar://10921594
Modified:
cfe/trunk/lib/CodeGen/BackendUtil.cpp
Modified:
On Fri, Feb 24, 2012 at 6:48 PM, Eli Friedman eli.fried...@gmail.com wrote:
Author: efriedma
Date: Fri Feb 24 20:48:22 2012
New Revision: 151428
URL: http://llvm.org/viewvc/llvm-project?rev=151428view=rev
Log:
Work-in-progress for lambda conversion-to-block operator. Still need to
After some internal discussion within intel, here is what we would recommend
for atomic objects:
0:The sizes in subsequent statements refer to the size of the object
including any fields to implement atomicity. (but per Jeffrey, no current
implementation is considering the addition of
Author: rsmith
Date: Sat Feb 25 00:24:24 2012
New Revision: 151434
URL: http://llvm.org/viewvc/llvm-project?rev=151434view=rev
Log:
Fix a regression from r151117: ADL requires that we attempt to complete any
associated classes, since it can find friend functions declared within them,
but overload
Author: rsmith
Date: Sat Feb 25 01:33:38 2012
New Revision: 151441
URL: http://llvm.org/viewvc/llvm-project?rev=151441view=rev
Log:
Teach CXXRecordDecl::hasIrrelevantDestructor to check the base classes and
data members for deleted or user-provided destructors.
Now it's computed in advance,
60 matches
Mail list logo