- 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
-
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
-
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
-
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
-
- 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
-
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
-
David Blaikie authored
DebugInfo: Canonicalize namespaces to avoid emitting multiple namespaces with the same name but different lines Updated test case to not rely on line numbers in more cases (it's hard to use the @ check syntax for debug info test cases (due to the interesting ordering of metadata) and this case in particular (given the hash-line directive)) - left a few in there to cover the line number information for these. llvm-svn: 188585
-
- Aug 16, 2013
-
-
Benjamin Kramer authored
llvm-svn: 188581
-
Benjamin Kramer authored
Replace some DenseMap keys with simpler structures that don't need another DenseMapInfo specialization. llvm-svn: 188580
-
Ted Kremenek authored
llvm-svn: 188578
-
David Blaikie authored
This reduces Clang's .dwo (fission debug info) size by 23% over Clang+LLVM. llvm-svn: 188576
-
David Blaikie authored
This is the correct type (as is demonstrated by the fact that the caller didn't need to change) & will be useful in a future patch. llvm-svn: 188575
-
Fariborz Jahanian authored
CF functions coming from static analyzer API. llvm-svn: 188574
-
Argyrios Kyrtzidis authored
Libclang has a lot of functionality that is inaccessible. The purpose of clangIDE is to move most of the functionality of libclang to it so we can expose it and have libclang be more of a thin C wrapper over clangIDE. Start by moving the USR generation functionality into clangIDE. llvm-svn: 188569
-
Samuel Benzaquen authored
Summary: Refactor ArgumentAdaptativeMatcher matchers to remove the template from their declaration. This facilitates dynamic registration. Change the registry code to use the regular overload resolution mechanism for adaptative matchers. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1402 llvm-svn: 188560
-
Edwin Vane authored
* Introduce operator< to replace Replacement::Less * Make operator== and operator< on Replacements non-member functions * Change order of comparisons in operator< to do string comparisons last llvm-svn: 188550
-