b3440f5898f39b8f0a86edfa38538716ba4f06cd |
13-Apr-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
all-std-headers.cpp: Include the C++11 headers when building with clang in -std=gnu++11 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154654 91177308-0d34-0410-b5e6-96231b3b80d8
ll-std-headers.cpp
|
5a5a971908a1fd064454db44c42333a3aecf3d5b |
04-Apr-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153999 91177308-0d34-0410-b5e6-96231b3b80d8
ll-std-headers.cpp
|
69f811d26865282411964e793724f95c4afefbb9 |
15-Feb-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Extend all-std-headers.cpp to include C++11 headers when building in C++11 mode. Conditionally include headers which older STL implementations don't provide. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150526 91177308-0d34-0410-b5e6-96231b3b80d8
ll-std-headers.cpp
|
c8cfc74bdcc999828bc232294d937fb191940d5b |
13-Sep-2011 |
Chandler Carruth <chandlerc@gmail.com> |
Enhance the CFG construction to detect no-return destructors for 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139586 91177308-0d34-0410-b5e6-96231b3b80d8
fg-nested-var-scopes.cpp
|
fd8bcd2520bd107ae5699536d776ed39487a5e6e |
08-Jul-2011 |
Chandler Carruth <chandlerc@gmail.com> |
Add several CFG-stress-testing input source files. These use the preprocessor to build up very large CFGs in various shapes that can produce different algorithmic behavior in CFG-walking code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134698 91177308-0d34-0410-b5e6-96231b3b80d8
fg-big-switch.c
fg-long-chain1.c
fg-long-chain2.c
fg-long-chain3.c
fg-nested-switches.c
|
69cff4e5deec39396f355ad7976d34d3f306a37d |
29-Sep-2009 |
Douglas Gregor <dgregor@apple.com> |
Add an input file that includes all standard C++ headers git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83042 91177308-0d34-0410-b5e6-96231b3b80d8
ll-std-headers.cpp
|
91f1dc4f9424f6345f9c6ff00063b8d7c6008ca1 |
26-Jan-2009 |
Chris Lattner <sabre@nondot.org> |
added to wrong directory git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62997 91177308-0d34-0410-b5e6-96231b3b80d8
99-intconst-1.c
|
a84538ea2b16bbccab64367e16c93aa6b8bb0169 |
21-Jul-2007 |
Chris Lattner <sabre@nondot.org> |
add an evil macro expansion perf test from Neil. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40138 91177308-0d34-0410-b5e6-96231b3b80d8
tpcpy-test.c
|
5f016e2cb5d11daeb237544de1c5d59f20fe1a6e |
11-Jul-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Stage two of getting CFE top correct. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39734 91177308-0d34-0410-b5e6-96231b3b80d8
ocoa_h.m
arbon_h.c
ostream.cc
acro_pounder_fn.c
acro_pounder_obj.c
|