- Jun 25, 2013
-
-
Nick Lewycky authored
usage of clang as a library. llvm-svn: 184812
-
Richard Smith authored
numbers as we deserialize class template partial specializations. We can't assume that the old sequence numbers will work. The sequence numbers are still deterministic, but are now a lot less predictable for class template partial specializations in modules/PCH. llvm-svn: 184811
-
Eli Friedman authored
Using "delete" on a pointer to an incomplete type can't throw. While I'm here, clean up the signature of the canCalleeThrow() helper. llvm-svn: 184810
-
Rafael Espindola authored
llvm-svn: 184807
-
Nico Weber authored
llvm-svn: 184804
-
Rafael Espindola authored
llvm-svn: 184803
-
Eli Friedman authored
Use castAs<> where appropriate. Don't check conditionals which are always true. Delete a bit of dead code. Reindent a bunch of code which is no longer guarded by an if statement. llvm-svn: 184801
-
Nico Weber authored
llvm-svn: 184796
-
Eli Friedman authored
llvm-svn: 184795
-
Eric Christopher authored
llvm-svn: 184794
-
Richard Smith authored
llvm-svn: 184791
-
Rafael Espindola authored
llvm-svn: 184790
-
- Jun 24, 2013
-
-
Ted Kremenek authored
Tweak -Wdeprecated-objc-pointer-introspection to have a subgroup for results of using -performSelectorXXX. -performSelector: and friends return a value that is boxed as an Objective-C pointer. Sometimes it is an Objective-C pointer, sometimes it isn't. Some clients may wish to silence this warning based on calling this method. Fixes <rdar://problem/14147304> llvm-svn: 184789
-
Michael Gottesman authored
This is a large test and thus it will only run if you pass in --param run_long_tests=trueto LIT. This is intended so that this test can run on buildbots and not when one runs make check. llvm-svn: 184787
-
Michael Gottesman authored
llvm-svn: 184786
-
Michael Gottesman authored
[NeonIntrinsicTestEmitter] Fix incorrect FileCheck pattern where we were expecting a ',' prefix to alignment hints. llvm-svn: 184785
-
Michael Gottesman authored
This will prevent the tests from running on normal make check. You will need to actually pass in --param run_long_tests=true to LIT in order to run these. llvm-svn: 184784
-
Argyrios Kyrtzidis authored
The top-level hash is used to determine if we need to update the global code-completion results. ImportDecls did not affect the hash so a newly introduced ImportDecl would not trigger an update of the global results. rdar://14202797 llvm-svn: 184782
-
Eli Friedman authored
This changes the mangling of local static variables/etc. inside blocks to do something simple and sane. This avoids depending on the way we mangle blocks, which isn't really appropriate here. John, please take a look at this to make sure the mangling I chose is sane. Fixes <rdar://problem/14074423>. llvm-svn: 184780
-
Reid Kleckner authored
llvm-svn: 184779
-
Reid Kleckner authored
At this point, it's clear that the MSVC mangler uses the type-as-written instead of the canonical type, so this should bring us closer to MSVC. The main thrust of this change is to fix the way we mangle decayed array parameters of function pointer parameters. With a DecayedType sugar node, this code can now be much simpler. Fixes PR16096. This also fixes a separate issue that Richard spotted in review. Because separate declarations of the same entity can be spelled and mangled differently, MSVC always mangles the earliest declaration in an attempt to avoid link errors. Clang now does the same. Reviewers: rsmith Differential Revision: http://llvm-reviews.chandlerc.com/D844 llvm-svn: 184777
-
Argyrios Kyrtzidis authored
"argument unused during compilation" warning. rdar://14240566 llvm-svn: 184776
-
Eli Friedman authored
llvm-svn: 184775
-
Rafael Espindola authored
llvm-svn: 184774
-
Rafael Espindola authored
llvm-svn: 184770
-
Anna Zaks authored
Add a debug checker that is useful to understand how the ExplodedGraph is built; it can be triggered using the following command: clang -cc1 -analyze -analyzer-checker=debug.ViewExplodedGraph my_program.c A patch by Béatrice Creusillet! llvm-svn: 184768
-
Rafael Espindola authored
The way we decide which file to remove is fairly odd. I took a quick look at maybe changing that, but it would be a more work than I want to put at this right now, so I left pair of FIXMEs. llvm-svn: 184766
-
Reid Kleckner authored
The goal of this sugar node is to be able to look at an arbitrary FunctionType and tell if any of the parameters were decayed from an array or function type. Ultimately this is necessary to implement Microsoft's C++ name mangling scheme, which mangles decayed arrays differently from normal pointers. Reviewers: rsmith Differential Revision: http://llvm-reviews.chandlerc.com/D1014 llvm-svn: 184763
-
Kaelyn Uhrain authored
namespaces to try for potential typo corrections. llvm-svn: 184762
-
Reid Kleckner authored
This will prevent breakage when I introduce the DecayedType sugar node. llvm-svn: 184755
-
Rafael Espindola authored
llvm-svn: 184753
-
Matt Beaumont-Gay authored
print-size-type.cpp was checking for specific record layout output for invalid decls; I've removed the checks but left the records as tests for not crashing. llvm-svn: 184751
-
Rafael Espindola authored
llvm-svn: 184743
-
Reid Kleckner authored
CheckParmForFunctionDef performs standard checks for type completeness and other things like a destructor check for the MSVC++ ABI. llvm-svn: 184740
-
NAKAMURA Takumi authored
FIXME: A couple of tests have been suppressed. I know it'd be bad with _MSC_VER here, though. llvm-svn: 184727
-
NAKAMURA Takumi authored
llvm-svn: 184726
-
Chandler Carruth authored
atexit. llvm-svn: 184708
-
Richard Smith authored
constructing a lookup table. Previously, buildLookup would add lookup table entries for each item lexically within the DC, and adding the first entry with a given name would trigger the external source to add all its entries with that name. Then buildLookup would carry on and re-add those entries all over again. Instead, follow a simple rule: a declaration from an external source is only ever made visible by the external source. One exception to this: since we don't usually build a lookup table for the TU in C, and we never serialize one, we don't expect the external source to provide lookups in the TU in C, so we build those ones ourselves. llvm-svn: 184696
-
David Blaikie authored
There's still a problem here - since we're not appropriately using the signedness/range of the enum to chooset the encoding and emission of enumerators, but GCC has some bugs around this too so I assume that's not /such/ a high priority though I may get to it soon out of completeness. llvm-svn: 184695
-
David Blaikie authored
The assembly generation testing has been moved to an LLVM test case. llvm-svn: 184693
-