- Sep 28, 2012
-
-
Eli Friedman authored
llvm-svn: 164804
-
- Sep 27, 2012
-
-
Anna Zaks authored
llvm-svn: 164803
-
Anna Zaks authored
through property getters. llvm-svn: 164802
-
Anna Zaks authored
llvm-svn: 164790
-
Anna Zaks authored
llvm-svn: 164788
-
NAKAMURA Takumi authored
llvm-svn: 164775
-
Sylvestre Ledru authored
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766 llvm-svn: 164769
-
Sylvestre Ledru authored
llvm-svn: 164766
-
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120917/064551.htmlArgyrios Kyrtzidis authored
have PPCallbacks::InclusionDirective pass the character range for the filename quotes or brackets. rdar://11113134 & http://llvm.org/PR13880 llvm-svn: 164743
-
Jordan Rose authored
Xcode-style clang builds only support Xcode's architectures, so mips isn't available and the driver tries to use gcc instead. cc1 will go ahead and do -fsyntax-only for any platform it knows about even if it can't actually compile. llvm-svn: 164742
-
Argyrios Kyrtzidis authored
results for a macro name, not CXCursor_NotImplemented. llvm-svn: 164740
-
Nick Lewycky authored
Left in a note that we need to turn it back on once the SROA fallout is cleared up. llvm-svn: 164733
-
- Sep 26, 2012
-
-
Benjamin Kramer authored
Fixes PR13851. Patch by Dimitry Andric! llvm-svn: 164717
-
Anna Zaks authored
This checker is annotation driven. It checks that the annotated invalidation method accesses all ivars of the enclosing objects that are objects of type, which in turn contains an invalidation method. This is driven by __attribute((annotation("objc_instance_variable_invalidator")). llvm-svn: 164716
-
Anna Zaks authored
llvm-svn: 164715
-
DeLesley Hutchins authored
where an attribute is attached to a forward declaration of a template function, and refers to parameters of that declaration, but is then inherited by the definition of that function. When the definition is instantiated, the parameter references need to be remapped. llvm-svn: 164710
-
Jordan Rose authored
This also adds a definition for uint64_t, which was causing build failures on some platforms. (I'm actually surprised this didn't happen on more builders, but maybe the search paths are different.) llvm-svn: 164706
-
Argyrios Kyrtzidis authored
This is to reduce dependency to cursors for the code-completion results. llvm-svn: 164705
-
Logan Chien authored
llvm-svn: 164683
-
Benjamin Kramer authored
Run test in a freestanding environment so it doesn't accidentally pick up system headers for the wrong target. While there add a test that verifies that the header parses in C++ mode. llvm-svn: 164679
-
Nico Weber authored
Found with find test -type f | xargs grep RUN: | grep '%clang' | grep -iv '%s' | grep -v '%t' | grep -v '\\$' llvm-svn: 164678
-
Nico Weber authored
llvm-svn: 164677
-
Nico Weber authored
Add a test for PR13924. Do not revert the test added in r163022, it surprisingly still passes even after reverting the code changes. llvm-svn: 164672
-
Logan Chien authored
In the C programming language, we have to add the "struct" keyword. Otherwise, the compiler will emit error message. llvm-svn: 164665
-
Eli Friedman authored
typeid (and a couple other non-standard places where we can transform an unevaluated expression into an evaluated expression) is special because it introduces an an expression evaluation context, which conflicts with the mechanism to compute the current lambda mangling context. PR12123. I would appreciate if someone would double-check that we get the mangling correct with this patch. llvm-svn: 164658
-
Eli Friedman authored
enough information so we can mangle them correctly in cases involving dependent parameter types. (This specifically impacts cases involving null pointers and cases involving parameters of reference type.) Fix the mangler to use this information instead of trying to scavenge it out of the parameter declaration. <rdar://problem/12296776>. llvm-svn: 164656
-
Richard Smith authored
for a type alias template can appear as sugar at any level of desugaring, just like a TypedefType. llvm-svn: 164655
-
Chad Rosier authored
rdar://12299433 llvm-svn: 164638
-
- Sep 25, 2012
-
-
Jordan Rose authored
There are very few tests here because SValBuilder is fairly aggressive about not building SymExprs that we can't evaluate, which saves memory and CPU but also makes it very much tied to the current constraint manager. We should probably scale back here and let things decay to UnknownVal later on. bitwise-ops.c tests that for the SymExprs we do create, we persist our assumptions about them. traversal-path-unification.c tests that we do clean out constraints on arbitrary SymExprs once they have actually died. llvm-svn: 164623
-
Jordan Rose authored
Previously, we'd just keep constraints around forever, which means we'd never be able to merge paths that differed only in constraints on dead symbols. Because we now allow constraints on symbolic expressions, not just single symbols, this requires changing SymExpr::symbol_iterator to include intermediate symbol nodes in its traversal, not just the SymbolData leaf nodes. This depends on the previous commit to be correct. Originally applied in r163444, reverted in r164275, now being re-applied. llvm-svn: 164622
-
Alexander Kornienko authored
Macro history (de-)serialization. Deserialization currently reads only the latest macro definition. Needs more work. Summary: Passes all tests (+ the new one with code completion), but needs a thorough review in part related to modules. Reviewers: doug.gregor Reviewed By: alexfh CC: cfe-commits, rsmith Differential Revision: http://llvm-reviews.chandlerc.com/D41 llvm-svn: 164610
-
Douglas Gregor authored
llvm-svn: 164607
-
Douglas Gregor authored
specific module (__building_module(modulename)) and to get the name of the current module as an identifier (__MODULE__). Used to help headers behave differently when they're being included as part of building a module. Oh, the irony. llvm-svn: 164605
-
Hans Wennborg authored
Currently Sema/wchar.c fails because WCHAR_T_TYPE is defined as int, however on ARM wchar_t is unsigned int. This patch changes that, so this test passes for ARM. Patch by Joey Gouly! llvm-svn: 164598
-
John McCall authored
be sure to delete the complete object pointer, not the original pointer. This is necessary if the base being deleted is at a non-zero offset in the complete object. This is only required for objects with virtual destructors because deleting an object via a base-class subobject when the base does not have a virtual destructor is undefined behavior. Noticed while reviewing the last four years of cxx-abi-dev activity. llvm-svn: 164597
-
NAKAMURA Takumi authored
llvm-svn: 164594
-
John McCall authored
llvm-svn: 164593
-
John McCall authored
llvm-svn: 164592
-
John McCall authored
Patch by Andy Gibbs! llvm-svn: 164591
-
John McCall authored
Patch by Andy Gibbs! llvm-svn: 164590
-