| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 151952
|
| |
|
|
| |
llvm-svn: 151951
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the corresponding files to avoid confusion.
This is a preparation to adding an AST-based call graph to Analysis. The
existing call graph works with indexer entries. We might be able to
refactor it to use the AST based graph in the future.
(Minimal testing here as the only example that uses the API has been
completely broken, does not compile.)
llvm-svn: 151950
|
| |
|
|
|
|
| |
implements PR 10705.
llvm-svn: 151949
|
| |
|
|
| |
llvm-svn: 151947
|
| |
|
|
|
|
|
| |
GNU attributes to a better extent, by allowing them in more
places on a declator.
llvm-svn: 151945
|
| |
|
|
|
|
| |
noreturn.
llvm-svn: 151944
|
| |
|
|
|
|
|
|
| |
It doesn't warn if the integer is known at compile time and within
the bounds of the string.
Discussion: http://comments.gmane.org/gmane.comp.compilers.clang.scm/47203
llvm-svn: 151943
|
| |
|
|
|
|
|
| |
issue the note if it is because message is sent to a forward class
declaration in delayed diagnostic. // rdar://10290322
llvm-svn: 151942
|
| |
|
|
|
|
|
|
| |
when visiting a CallEnter.
Fixes <rdar://problem/10967815>
llvm-svn: 151938
|
| |
|
|
|
|
|
|
|
|
| |
ptrdiff_t on PPC32 on Linux, etc. should be int not long.
This does not matter for C, but it does matter for C++ because of
name mangling.
The preprocessor test has been changed accordingly.
llvm-svn: 151935
|
| |
|
|
|
|
|
| |
This is consistent with -Wbool-conversion. Let me know if you prefer
a different flag name.
llvm-svn: 151934
|
| |
|
|
|
|
|
|
|
|
| |
@class I;
@implementation I(cat) // crashes here
@end
rdar://10968158
llvm-svn: 151931
|
| |
|
|
|
|
|
|
|
|
|
| |
command line options for inlining tuning.
This adds the option for stack depth bound as well as function size
bound.
+ minor doxygenification
llvm-svn: 151930
|
| |
|
|
|
|
| |
types of the pointer arguments.
llvm-svn: 151927
|
| |
|
|
|
|
| |
// rdar://10961370
llvm-svn: 151923
|
| |
|
|
|
|
|
|
| |
variables in contexts where there" and "Fix buildbot: make this test less dependent on the value names in the produced IR."
They broke bootstrap.
llvm-svn: 151922
|
| |
|
|
|
|
| |
No, really, make doesn't work with spaces.
llvm-svn: 151920
|
| |
|
|
| |
llvm-svn: 151910
|
| |
|
|
|
|
|
|
| |
Unconditionally define __C99FEATURES__ when using C++ on Solaris. This is a
(hopefully temporary) work around for libc++ exposing C99-but-not-C++98
features in C++98 mode.
llvm-svn: 151889
|
| |
|
|
|
|
|
|
|
| |
early, since their values can be used in constant expressions in C++11. For
odr-use checking, the opposite change is required, since references are
odr-used whether or not they satisfy the requirements for appearing in a
constant expression.
llvm-svn: 151881
|
| |
|
|
|
|
| |
produced IR.
llvm-svn: 151880
|
| |
|
|
|
|
|
| |
is no odr-use of the variable. Go slightly beyond what the standard requires
for variables of reference type.
llvm-svn: 151879
|
| |
|
|
|
|
|
|
|
|
| |
diagnostics in calls into macro pieces.
Also fix handling of macros within calls in the HTMLDiagnostics.
This also adds a test case for r151774.
llvm-svn: 151872
|
| |
|
|
|
|
|
|
|
| |
But it is in the underlying c part of clang. clang crashes
in IRGen when passing an incomplete type argument to
variadic function (instead of diagnosing the bug).
// rdar://10961370
llvm-svn: 151862
|
| |
|
|
|
|
| |
to docs/UsersManual.html
llvm-svn: 151858
|
| |
|
|
|
|
| |
special to do with it, since destructors are represented explicitly in the CFG.
llvm-svn: 151856
|
| |
|
|
|
|
|
|
|
| |
IndentifierTable::get() and into IdentifierTable's constructor.
This gets a 0.7% reducing on lexing time for Cocoa.h, and
about the same for PCH generation.
llvm-svn: 151854
|
| |
|
|
|
|
| |
says.
llvm-svn: 151853
|
| |
|
|
|
|
|
|
|
|
| |
shouldn't be relying on assembly emission.
For the record we should check the metadata output from the front
end and then check in the backend that such a thing emits a pubtypes
entry.
llvm-svn: 151851
|
| |
|
|
|
|
| |
Fix a test, which was most likely an unintended recursive call.
llvm-svn: 151848
|
| |
|
|
|
|
|
|
|
|
| |
This flag enables ThreadSanitizer instrumentation committed to llvm as r150423.
The patch includes one test for -fthread-sanitizer and one similar test for -faddress-sanitizer.
This patch does not modify the linker flags (as we do it for -faddress-sanitizer) because the run-time library is not yet
committed and it's structure in compiler-rt is not 100% clear.
The users manual wil be changed in a separate commit.
llvm-svn: 151846
|
| |
|
|
|
|
|
|
| |
commit to a particular syntax for modules,
and don't have time to push it forward in the near future.
llvm-svn: 151841
|
| |
|
|
|
|
|
|
|
|
| |
attributes, introduced in r151188.
+ the test to catch it.
Thanks to Ahmed Charles for pointing this out.
llvm-svn: 151840
|
| |
|
|
|
|
|
|
| |
correctly.
Still rdar://10900684
llvm-svn: 151838
|
| |
|
|
| |
llvm-svn: 151837
|
| |
|
|
|
|
| |
Will bring it up once the issue is fixed properely.
llvm-svn: 151830
|
| |
|
|
|
|
| |
Needs llvm update.
llvm-svn: 151829
|
| |
|
|
| |
llvm-svn: 151819
|
| |
|
|
| |
llvm-svn: 151812
|
| |
|
|
| |
llvm-svn: 151809
|
| |
|
|
| |
llvm-svn: 151805
|
| |
|
|
| |
llvm-svn: 151804
|
| |
|
|
| |
llvm-svn: 151803
|
| |
|
|
|
|
| |
Fixes PR10705.
llvm-svn: 151800
|
| |
|
|
| |
llvm-svn: 151798
|
| |
|
|
|
|
|
|
| |
generated block literal for lambdas which are immediately converted to block pointer type. This simplifies the AST, avoids an unnecessary copy of the lambda and makes it much easier to avoid copying the result onto the heap.
Note that this transformation has a substantial semantic effect outside of ARC: it gives the converted lambda lifetime semantics similar to a block literal. With ARC, the effect is much less obvious because the lifetime of blocks is already managed.
llvm-svn: 151797
|
| |
|
|
|
|
|
| |
improve the diagnostics for some attempts to use initializer lists in
expressions.
llvm-svn: 151794
|
| |
|
|
|
|
| |
than an attribute name. Patch by Michel Morin!
llvm-svn: 151791
|
| |
|
|
|
|
| |
__attribute__((NSObject)) on a property declaration. This is needed to have retain properties for non-object pointers. Fixes <rdar://problem/10930507>.
llvm-svn: 151786
|