summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* builtin_trap should be noreturn, this fixes PR5062, patch byChris Lattner2009-09-262-1/+6
| | | | | | Roman Divacky! llvm-svn: 82876
* Simplify the handling of non-dependent friend class templateDouglas Gregor2009-09-263-14/+37
| | | | | | | | | | | | specializations such as: friend class std::vector<int>; by using the same code path as explicit specializations, customized to reference an existing ClassTemplateSpecializationDecl (or build a new "undeclared" one). llvm-svn: 82875
* Substitute "::std::" as "St".Anders Carlsson2009-09-262-1/+31
| | | | llvm-svn: 82874
* Don't crash when trying to mangle function templates.Anders Carlsson2009-09-262-2/+20
| | | | llvm-svn: 82872
* mangleTemplatePrefix and mangleUnscopedTemplateName should take a TemplateDecl.Anders Carlsson2009-09-261-10/+9
| | | | llvm-svn: 82871
* Use the qualified name for tag types.Anders Carlsson2009-09-261-2/+9
| | | | llvm-svn: 82870
* Set alignment on static function level decls and VLAs. Fixes PR5060.Anders Carlsson2009-09-262-6/+24
| | | | llvm-svn: 82868
* Added test case for <rdar://problem/7152418>.Ted Kremenek2009-09-261-0/+24
| | | | llvm-svn: 82866
* Address comment from Daniel.Anders Carlsson2009-09-261-1/+1
| | | | llvm-svn: 82865
* Pass the formatted_raw_ostream to createPrintModulePass andDan Gohman2009-09-261-2/+2
| | | | | | | | | createBitcodeWriterPass instead of the underlying raw_ostream. This avoids trouble with formatted_raw_ostream's behavior of setting the underlying stream to be unbuffered, which resulted in clang -emit-llvm -S using unbuffered output. llvm-svn: 82857
* Revert "Force triple in test.", this wasn't the problem.Daniel Dunbar2009-09-261-1/+1
| | | | llvm-svn: 82855
* Update checker build.Ted Kremenek2009-09-261-1/+1
| | | | llvm-svn: 82854
* Add the lib path to LD_LIBRARY_PATH, so finding .so works (more) portably.Daniel Dunbar2009-09-264-0/+13
| | | | llvm-svn: 82853
* Force triple in test.Daniel Dunbar2009-09-261-1/+1
| | | | llvm-svn: 82850
* Fix name lookup for friend class templates to consider anything in aDouglas Gregor2009-09-262-13/+36
| | | | | | | scope *up to and including* the innermost namespace scope, rather than just searching in the innermost namespace scope. llvm-svn: 82849
* Rework the Parse-Sema interaction for friends to better support friendDouglas Gregor2009-09-2611-46/+130
| | | | | | | | | class templates. We now treat friend class templates much more like normal class templates, except that they still get special name lookup rules. Fixes PR5057 and eliminates a bunch of spurious diagnostics in <iostream>. llvm-svn: 82848
* Hoist some branches in AnalysisManager::HandleTranslationUnit so weTed Kremenek2009-09-261-16/+19
| | | | | | | | avoid scanning for an "entry point" FunctionDecl if we (a) have no translation unit actions and (b) no entry point function has been specified. llvm-svn: 82846
* Use ABIArgInfo::getDirect() for all types that have a pointer representation.Anders Carlsson2009-09-262-4/+4
| | | | llvm-svn: 82845
* Yet another simplifying use of Sema::getMostSpecializedDouglas Gregor2009-09-261-46/+16
| | | | llvm-svn: 82844
* Mangle record types as decls.Anders Carlsson2009-09-267-28/+51
| | | | llvm-svn: 82843
* Add a "positive" matching test case for attribute 'noreturn' that involves a ↵Ted Kremenek2009-09-261-0/+6
| | | | | | nested infinite loop. llvm-svn: 82842
* Add two more test cases for attribute 'noreturn'.Ted Kremenek2009-09-261-0/+11
| | | | llvm-svn: 82841
* Use Sema::getMostSpecialized to eliminate a redundant implementation of the ↵Douglas Gregor2009-09-261-58/+11
| | | | | | most-specialized function template llvm-svn: 82840
* Change isTemplate to return the actual template declaration.Anders Carlsson2009-09-261-5/+5
| | | | llvm-svn: 82839
* Improve mangling of typename types.Anders Carlsson2009-09-262-1/+24
| | | | llvm-svn: 82833
* Rename NextOffset to DataSize.Anders Carlsson2009-09-262-13/+20
| | | | llvm-svn: 82832
* Start at NextOffset when laying out bases as well.Anders Carlsson2009-09-262-1/+5
| | | | llvm-svn: 82831
* Disable c-index-test on MSVC until someone figures out the real problem.Daniel Dunbar2009-09-261-1/+4
| | | | llvm-svn: 82830
* Use NextOffset when laying out a field.Anders Carlsson2009-09-262-1/+6
| | | | llvm-svn: 82828
* Don't try to dump invalid decls or forward decls.Anders Carlsson2009-09-261-0/+6
| | | | llvm-svn: 82827
* Cast cleanup.Anders Carlsson2009-09-261-29/+31
| | | | llvm-svn: 82826
* Use explicitly-specified template argument lists to help namingDouglas Gregor2009-09-256-20/+68
| | | | | | explicit template specializations, when available. llvm-svn: 82824
* Fix cut/paste error resulting in bad column info.Steve Naroff2009-09-252-90/+90
| | | | llvm-svn: 82810
* Add clang_getDeclSource().Steve Naroff2009-09-253-0/+10
| | | | llvm-svn: 82807
* Declarators can now properly represent template-ids, e.g., forDouglas Gregor2009-09-256-24/+90
| | | | | | | | | | | template void f<int>(int); ~~~~~~ Previously, we silently dropped the template arguments. With this change, we now use the template arguments (when available) as the explicitly-specified template arguments used to aid template argument deduction for explicit template instantiations. llvm-svn: 82806
* Add clang_getDeclLine and clang_getDeclColumnSteve Naroff2009-09-255-91/+146
| | | | | | | Fix clang_getCursorDecl to do the right thing for expr refs Fixup test file to accommodate new output (which includes the line/column for the referenced decl) llvm-svn: 82798
* Refixed pr5050 per Anders comment. Test case enhancedFariborz Jahanian2009-09-252-6/+19
| | | | | | per Doug's comment. llvm-svn: 82791
* WIP implementation of explicit instantiation of function templates,Douglas Gregor2009-09-2510-7/+461
| | | | | | | | member functions of class template specializations, and static data members. The mechanics are (mostly) present, but the semantic analysis is very weak. llvm-svn: 82789
* Fix the AST tree so ir-gen can do the conversion via copy construction.Fariborz Jahanian2009-09-252-1/+22
| | | | | | Fixed pr5050. llvm-svn: 82783
* Fix 80-col violation.Mike Stump2009-09-251-1/+2
| | | | llvm-svn: 82782
* pcc supports some c99Chris Lattner2009-09-251-2/+1
| | | | llvm-svn: 82774
* Even more work on empty classes.Anders Carlsson2009-09-252-7/+45
| | | | llvm-svn: 82770
* Fix MSVC build by renaming a variable. PR5043Benjamin Kramer2009-09-251-2/+2
| | | | llvm-svn: 82762
* Sigh. Be *really* careful when copying a default function argument during ↵Douglas Gregor2009-09-251-1/+3
| | | | | | template instantiation llvm-svn: 82761
* Be careful about copying uninstantiated default arguments during template ↵Douglas Gregor2009-09-251-2/+2
| | | | | | instantiation llvm-svn: 82760
* Don't look for __builtin_va_list; it isn't present for all targetsDouglas Gregor2009-09-251-1/+1
| | | | llvm-svn: 82757
* CMake build support for libCIndex and c-index-test. The indexing testsDouglas Gregor2009-09-253-1/+39
| | | | | | are now running properly from within CMake. llvm-svn: 82755
* Turn on 'RegionStore' as the default store manager both for 'clang ↵Ted Kremenek2009-09-253-5/+10
| | | | | | --analyze' and 'scan-build'. Leave 'BasicStore' as the default store manager in 'clang-cc'. While there are still known warts with RegionStore, it's ready to be tested by general users. llvm-svn: 82752
* Hide clang-wpa executable behind a CMake variable so it won't be built by ↵Douglas Gregor2009-09-251-1/+4
| | | | | | default llvm-svn: 82751
* Update checker build.Ted Kremenek2009-09-251-1/+1
| | | | llvm-svn: 82749
OpenPOWER on IntegriCloud