summaryrefslogtreecommitdiffstats
path: root/clang/INPUTS
Commit message (Collapse)AuthorAgeFilesLines
* Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. ↵Sylvestre Ledru2012-09-271-1/+1
| | | | | | See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766 llvm-svn: 164769
* Fix a typo 'iff' => 'if'Sylvestre Ledru2012-09-271-1/+1
| | | | llvm-svn: 164766
* all-std-headers.cpp: Include the C++11 headers when building with clangRichard Smith2012-04-131-1/+1
| | | | | | in -std=gnu++11 mode. llvm-svn: 154654
* For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this isRichard Smith2012-04-041-1/+3
| | | | | | | | | | a type specifier and can be combined with unsigned. This allows libstdc++4.7 to be used with clang in c++98 mode. Several other changes are still required for libstdc++4.7 to work with clang in c++11 mode. llvm-svn: 153999
* Extend all-std-headers.cpp to include C++11 headers when building in C++11 mode.Richard Smith2012-02-141-0/+33
| | | | | | Conditionally include headers which older STL implementations don't provide. llvm-svn: 150526
* Enhance the CFG construction to detect no-return destructors forChandler Carruth2011-09-131-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | temporary objects and local variables. When detected, these split the block, marking the new one as having only the exit block as a successor. This prevents a large number of false positives in warnings sensitive to no-return constructs such as -Wreturn-type, and fixes the remainder of PR10063 along with several variations of this bug that had not been reported. The test cases are extended across the board to cover these patterns. This also checks in a stress test for these types of CFGs. The stress test declares some 32k variables, a mixture of no-return and normal destructors. Previously, this resulted in roughly 2500 CFG blocks, but didn't model any of the no-return destructors. With this patch, it results in over 33k blocks, many of them now unreachable. The nice thing about how the analyzer is set up? This causes *no* regression in performance of building the CFG. It actually in some cases makes it faster, as best I can benchmark. The analysis for -Wreturn-type (and any other that cares about no-return code paths) is technically slower now as it has to look at many more candidate blocks, but it computes the correct answer. I have more test cases to follow, I think they all work now. Also I have further work that should dramatically simplify analyses in the presence of no-return. llvm-svn: 139586
* Add several CFG-stress-testing input source files. These use theChandler Carruth2011-07-085-0/+124
| | | | | | | preprocessor to build up very large CFGs in various shapes that can produce different algorithmic behavior in CFG-walking code. llvm-svn: 134698
* Add an input file that includes all standard C++ headersDouglas Gregor2009-09-291-0/+51
| | | | llvm-svn: 83042
* added to wrong directoryChris Lattner2009-01-261-0/+639
| | | | llvm-svn: 62997
* add an evil macro expansion perf test from Neil.Chris Lattner2007-07-211-0/+47
| | | | llvm-svn: 40138
* Bug #:Steve Naroff2007-05-231-1/+1
| | | | | | | | | | | Submitted by: Reviewed by: Added "global" statistics gathering for Decls/Stmts/Exprs. Very useful for working with a single file. When we start compiling multiple files, will need to enhance this to collect stats on a per-module basis. llvm-svn: 39485
* add some of the smaller test inputs I use.Chris Lattner2006-10-275-0/+44
llvm-svn: 39073
OpenPOWER on IntegriCloud