summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump up the MaxDepth in the BalancedDelimiterTracker.Chad Rosier2012-04-271-1/+1
| | | | | | | The Avida Project (http://avida.devosoft.org) exceeds the 256 limit. rdar://11289131 llvm-svn: 155737
* modern objective-c translator: _OBJC_PROTOCOL_REFERENCE_* Fariborz Jahanian2012-04-271-2/+1
| | | | | | symbols should be static. // rdar://11337074 llvm-svn: 155736
* [driver] Don't try to set the deployment target when there is no boundChad Rosier2012-04-273-5/+5
| | | | | | | | | architecture; this was happening for tools such as lipo and dsymutil. Also, if no -arch option has been specified, set the architecture based on the TC default. rdar://11329656 llvm-svn: 155730
* PR12224 (sort of): Diagnose inheriting constructor declarations in C++11 mode.Richard Smith2012-04-277-26/+38
| | | | | | | We do not support IRGen for these, and get some parts of the semantic analysis wrong. llvm-svn: 155728
* Imrpove the note text for when a non-type decl hides a tag typeKaelyn Uhrain2012-04-275-6/+6
| | | | llvm-svn: 155723
* Fix logic such that we only call getToolChain once. No functional changeChad Rosier2012-04-271-1/+3
| | | | | | intended. llvm-svn: 155719
* Remove redundant calls to BAA->getArchName(). No functional changeChad Rosier2012-04-271-2/+3
| | | | | | intended. llvm-svn: 155718
* Revert 155679; Not a typo.Chad Rosier2012-04-271-1/+1
| | | | llvm-svn: 155708
* Use enum to set debug info size generated by ClangAlexey Samsonov2012-04-278-19/+43
| | | | llvm-svn: 155697
* Use a deque instead of an ImmutableList in AnalysisConsumer to preserve the ↵Ted Kremenek2012-04-273-18/+12
| | | | | | file order that functions are visited. Should fix the buildbots. llvm-svn: 155693
* test/Rewriter: Mark 4 tests as XFAIL:mingw32, due to predefined ↵NAKAMURA Takumi2012-04-274-0/+4
| | | | | | __declspec(a) issue. llvm-svn: 155692
* test/Driver/fast-math.c: Mark this as XFAIL:cygming. They use gcc driver for as.NAKAMURA Takumi2012-04-271-0/+3
| | | | llvm-svn: 155691
* Add test case for rdar://11293995Argyrios Kyrtzidis2012-04-271-0/+31
| | | | llvm-svn: 155690
* Add a missing check in CodeGen of packed classes with vtables. ↵Eli Friedman2012-04-272-1/+21
| | | | | | <rdar://problem/11324125>. llvm-svn: 155689
* The release notes are no place for modesty.Richard Smith2012-04-271-2/+2
| | | | llvm-svn: 155681
* Change FunctionSummary.h's definition of SetOfDecls to be an ImmutableList ↵Ted Kremenek2012-04-272-11/+24
| | | | | | | | | | | | | instead of a mutable SmallPtrSet. While iterating over LocalTUDecls, there were cases where we could modify LocalTUDecls, which could result in invalidating an iterator and an analyzer crash. Along the way, switch some uses of std::queue to std::dequeue, which should be slightly more efficient. Unfortunately, this is a difficult case to create a test case for. llvm-svn: 155680
* Typo.Chad Rosier2012-04-271-1/+1
| | | | llvm-svn: 155679
* Add note to help explain why a tag such as 'struct' is needed to referKaelyn Uhrain2012-04-265-3/+41
| | | | | | | to a given type, when the reason is that there is a non-type decl with the same name. llvm-svn: 155677
* modern objective-c transltion: Fixes a translation bugFariborz Jahanian2012-04-262-2/+23
| | | | | | | of writing a __block variable being initialized with a constructed object. // rdar://11326988 llvm-svn: 155673
* Add a missing ExpressionEvaluationContext for template default arguments. ↵Eli Friedman2012-04-263-0/+13
| | | | | | Fixes PR12581. llvm-svn: 155670
* Revert r154981, because it caused PR12674.Nico Weber2012-04-263-8/+14
| | | | | | Add a test for PR12674. llvm-svn: 155666
* Test case for previosu patch.Fariborz Jahanian2012-04-261-0/+20
| | | | | | // rdar://11323676 llvm-svn: 155664
* objective-c IRGen. Fixes a getter synthesis bugFariborz Jahanian2012-04-261-1/+1
| | | | | | | where getter type is super class of its property type, resulting in an assert. // rdar://11323676 llvm-svn: 155663
* Fix a bug with block layout when the block contains somethingJohn McCall2012-04-262-5/+16
| | | | | | | | | | | | more aligned than the block header but also contains something smaller than the block-header alignment but not exactly half the difference between the large alignment and the header alignment. Got that? I'm really not sure what I was thinking with the buggy computation here, but the fix is pretty obvious. llvm-svn: 155662
* Fix file name in comment.David Blaikie2012-04-261-1/+1
| | | | | | Patch by Yang Chen. llvm-svn: 155658
* MIPS: Add support for 64-bit MIPS targets: mips64 / mips64el.Simon Atanasyan2012-04-262-1/+58
| | | | llvm-svn: 155656
* [PCH] In ASTReader::completeVisibleDeclsMap, after we loaded all visible ↵Argyrios Kyrtzidis2012-04-261-0/+1
| | | | | | | | | | | decls, mark the declaration context as not having external visible storage any more. This should improve performance as we won't needlessly reload the visible decls multiple times and seems to fix the i386 crash in rdar://11327522. llvm-svn: 155649
* Fix a crash-on-invalid where the constant evaluator would try toJohn McCall2012-04-262-0/+12
| | | | | | evaluate certain expressions involving invalidly-defined classes. llvm-svn: 155645
* Remove the group from -fhonor_infinites/-fno_honor_infinites aliases. AliasesChad Rosier2012-04-261-4/+2
| | | | | | | with groups are unsupported. rdar://11324283 llvm-svn: 155637
* Define __ANDROID__ macro on -androideabi targets.Evgeniy Stepanov2012-04-262-0/+5
| | | | llvm-svn: 155632
* Adds a tutorial on how to write RAV based ASTFrontendActions.Manuel Klimek2012-04-261-0/+221
| | | | llvm-svn: 155631
* Reverted unintentional commit.Manuel Klimek2012-04-262-223/+1
| | | | llvm-svn: 155629
* MIPS: Add tests to check the debian multiarch stuff for mips and mipsel targets.Simon Atanasyan2012-04-2615-0/+24
| | | | llvm-svn: 155628
* Adds a small tutorial on how to write RAV based ASTFrontendActions.Manuel Klimek2012-04-262-1/+223
| | | | llvm-svn: 155627
* Enable AVX/AVX2 for Sandy Bridge, Ivy Bridge, and Haswell CPUs.Craig Topper2012-04-262-12/+6
| | | | llvm-svn: 155624
* Update checker build link, and remove stale links.Ted Kremenek2012-04-262-6/+10
| | | | llvm-svn: 155622
* PR12647: An alias template instantiation which occurs in a SFINAE context isRichard Smith2012-04-262-1/+33
| | | | | | itself a SFINAE context. llvm-svn: 155621
* [analyzer] check lazy bindings in RegionStore first before looking for ↵Ted Kremenek2012-04-262-8/+24
| | | | | | default values. Fixes <rdar://problem/11269741>. llvm-svn: 155615
* Teach RetainCountChecker that it doesn't quite understand ↵Ted Kremenek2012-04-262-3/+17
| | | | | | pthread_setspecific and it should just give up when it sees it. Fixes <rdar://problem/11282706>. llvm-svn: 155613
* PR12660: Don't crash when initializing a const reference from a braced init listRichard Smith2012-04-262-1/+8
| | | | | | which creates a temporary by calling a constructor. llvm-svn: 155608
* Fix a long-standing bug where Clang had a different default from GCC onChandler Carruth2012-04-262-11/+17
| | | | | | | | | | | | | | | Linux and other (non-Darwin) platforms and have it use -fmath-errno by default (for better or worse). Darwin has seen the light here and uses -fno-math-errno by default, this patch preserves that. If any maintainers for a non-Linux platform would also like to opt-in to -fno-math-errno by default, I'm happy to add folks, but we're currently getting buts and misleading comparisons with GCC due to this difference in behavior on Linux at least. llvm-svn: 155607
* Two missing -Wc++98-compat warnings, for null pointers as non-type templateRichard Smith2012-04-264-0/+31
| | | | | | arguments, and 'this' in exception-specifications. llvm-svn: 155606
* Reject cases likeRafael Espindola2012-04-263-0/+13
| | | | | | | | | struct __attribute__((visibility("hidden"))) a; struct __attribute__((visibility("default"))) b; which gcc already rejects. llvm-svn: 155603
* If a type is non-literal by virtue of being incomplete produce notesRichard Smith2012-04-253-5/+12
| | | | | | explaining that. llvm-svn: 155598
* RecursiveASTVisitor: When in 'shouldVisitTemplateInstantiations' mode, visitRichard Smith2012-04-252-55/+117
| | | | | | | | | | | all instantiations of a template when we visit the canonical declaration of the primary template, rather than trying to match them up to the partial specialization from which they are instantiated. This fixes a bug where we failed to visit instantiations of partial specializations of member templates of class templates, and naturally extends to allow us to visit instantiations where we have instantiated only a declaration. llvm-svn: 155597
* Typo.Chad Rosier2012-04-251-1/+1
| | | | llvm-svn: 155596
* objective-c modern translator: more tests.Fariborz Jahanian2012-04-255-1/+81
| | | | llvm-svn: 155585
* Add an error message with fixit hint for changing '.' to '->'.Kaelyn Uhrain2012-04-255-4/+99
| | | | | | | | | This is mainly for attempting to recover in cases where a class provides a custom operator-> and a '.' was accidentally used instead of '->' when accessing a member of the object returned by the current object's operator->. llvm-svn: 155580
* When resolving default template arguments, it should be done in the ↵Argyrios Kyrtzidis2012-04-252-0/+35
| | | | | | | | | | declaration context of the template what we are going to instantiate. Fixes various crashes of rdar://11242625 & http://llvm.org/PR11421. llvm-svn: 155576
* PR12625: Cope with classes which have incomplete base or member types:Richard Smith2012-04-252-1/+8
| | | | | | | Don't try to query whether an incomplete type has a trivial copy constructor when determining whether a move constructor should be declared. llvm-svn: 155575
OpenPOWER on IntegriCloud