- Aug 19, 2013
-
-
Alexey Samsonov authored
llvm-svn: 188675
-
Alexey Samsonov authored
llvm-svn: 188672
-
NAKAMURA Takumi authored
AFAIK, there are no -W options for gcc-as and gcc-ld. It caused failure to build clang with gcc-4.7 on cygwin. FIXME: Could we recategorize Options for gcc-as and gcc-ld? llvm-svn: 188668
-
Alexey Samsonov authored
llvm-svn: 188667
-
Alexey Samsonov authored
llvm-svn: 188666
-
Daniel Jasper authored
This accidentally introduced by r186077, as function names were not correctly recognized in templated declarations. Before: template <class TemplateIt> SomeReturnType SomeFunction(TemplateIt begin, TemplateIt end, TemplateIt* stop) {} After: template <class TemplateIt> SomeReturnType SomeFunction(TemplateIt begin, TemplateIt end, TemplateIt* stop) {} llvm-svn: 188665
-
Robert Lytton authored
This is so aggregates can be passed as var args too. llvm-svn: 188664
-
Robert Lytton authored
llvm-svn: 188663
-
Alexey Samsonov authored
llvm-svn: 188662
-
NAKAMURA Takumi authored
llvm-svn: 188661
-
Alexey Samsonov authored
Summary: This change turns SanitizerArgs into high-level options stored in the Driver, which are parsed lazily. This fixes an issue of multiple copies of the same diagnostic message produced by sanitizer arguments parser. Reviewers: rsmith Reviewed By: rsmith CC: chandlerc, eugenis, cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1341 llvm-svn: 188660
-
Robert Wilhelm authored
llvm-svn: 188659
-
Dmitri Gribenko authored
Move C++-specific tests that were checking if we attach a base class comment to a derived class to an existing test comment-to-html-xml-conversion.cpp. Note that the original testing approach was not actually testing the class--comment relationship. It only checked that we attached the comment *somewhere*. The rest of subclass-comment.mm should be also moved elsewhere. llvm-svn: 188658
-
Dmitri Gribenko authored
comment-misc-tags.m is mostly about miscellaneous Doxygen tags. Move out tests that check if the comment is attached to an ObjC decl. Because the exitsting test for this is in C++ (annotate-comments.cpp), create a new test -- annotate-comments-objc.m. The rest of comment-misc-tags.m should be also moved elsewhere. llvm-svn: 188657
-
Craig Topper authored
llvm-svn: 188652
-
David Blaikie authored
DebugInfo: Do not include line/file info for artificial parameters & parameters of artificial functions llvm-svn: 188651
-
Craig Topper authored
Make the version of Stmt::operator new that takes ASTContext* call the ASTContext& version in Stmt inline instead of having two out of line functions that both call to the global versions. llvm-svn: 188648
-
David Majnemer authored
Summary: DeclRefExpr::getDecl gives us back a ValueDecl, this isa<> check will never fire. Reviewers: eli.friedman, doug.gregor, majnemer Reviewed By: majnemer CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1434 llvm-svn: 188647
-
- Aug 18, 2013
-
-
Craig Topper authored
llvm-svn: 188645
-
Craig Topper authored
llvm-svn: 188644
-
David Blaikie authored
Revert "Revert "DebugInfo: Omit debug info for dynamic classes in TUs that do not have the vtable for that class"" This reverts commit r188600. r188640/r188639 fixed the root cause of the crash-on-valid that r188600 originally introduced. This now appears to bootstrap debug clang successfully to the best of my testing. llvm-svn: 188642
-
Craig Topper authored
Remove throw() from Stmt::operator new so the compiler will omit the null check on the result since ASTContext allocator won't return null. llvm-svn: 188641
-
David Blaikie authored
A partner to r188639, this is a somewhat heavy-handed fix to the general issue, since even after that prior change the issue does still unavoidably arise with template parameters (see test case). There are other ways we could consider addressing this (see FIXME). llvm-svn: 188640
-
David Blaikie authored
Possible minor reduction in debug info & avoid some cases where creating a context chain could lead to the type the context chain is being created for, being created. (this is still possible with template parameters - tests/fixes/improvements to follow) llvm-svn: 188639
-
NAKAMURA Takumi authored
llvm-svn: 188638
-
Craig Topper authored
Make expression allocation methods use a 'const' reference to the ASTContext since the underlying operator new only needs a const reference. llvm-svn: 188636
-
Dmitri Gribenko authored
llvm-svn: 188625
-
Chandler Carruth authored
loop processing the candidates can cause new declerations to be added to the context, invalidating lookup_result. To avoid that, make a copy of the list of declarations to iterate over. I don't have a way to check in a test case for this as it involves a giant pile of source code and a generated PCH file used to accelerate code completion, all of this running under ASan. llvm-svn: 188623
-
David Blaikie authored
Fixes a crash-on-valid introduced by r188486 (which should've occurred earlier but for a blatant bug where calling createFwdDecl from the requireCompleteType callback was useless under -flimit-debug-info and we were just getting lucky with other later callbacks requiring the type anyway). llvm-svn: 188622
-
NAKAMURA Takumi authored
llvm-svn: 188621
-
- Aug 17, 2013
-
-
David Blaikie authored
llvm-svn: 188612
-
Juergen Ributzka authored
_mm256_broadcastsi128_si256 to align with the Intel documentation. This fixes bug PR 16581 and rdar:14747994. llvm-svn: 188609
-
Anton Yartsev authored
llvm-svn: 188607
-
Richard Smith authored
llvm-svn: 188603
-
Richard Smith authored
preparation for teaching this function how to diagnose a correction that includes importing a module. llvm-svn: 188602
-
Argyrios Kyrtzidis authored
Per feedback from Chandler, it's better to have libraries with more specific functionality. LibIndex will contain the indexing functionality of libclang, which includes USR generation. llvm-svn: 188601
-
David Blaikie authored
Revert "DebugInfo: Omit debug info for dynamic classes in TUs that do not have the vtable for that class" This reverts commit r188576. Reverting while I investigate a selfhosting buildbot failure on Darwin. llvm-svn: 188600
-
Fariborz Jahanian authored
for future work. No change otherwise. llvm-svn: 188591
-
Rafael Espindola authored
Before this patch we would warn and drop the attribute in extern const char test3[] __attribute__((used)) = ""; llvm-svn: 188588
-
Ted Kremenek authored
llvm-svn: 188587
-