- Feb 09, 2013
-
-
Jordan Rose authored
check_cxx_symbol_exists requires CMake 2.8.6, so even though I recommended it to Owen it's probably better to stay away for now. This check is not technically correct because we're checking <math.h> but then using <cmath> in the actual code, but if we run into problems we can do the same sort of dance as isinf() and isnan() where we check /both/ headers and then write a wrapper header around them. llvm-svn: 174773
-
Sean Callanan authored
to pass it to CFGetTypeID() anyway. <rdar://problem/13181904> llvm-svn: 174772
-
- Feb 08, 2013
-
-
Richard Smith authored
to use -Wfoo instead of -Wno-foo. This works around a bug in some versions of gcc, where it will silently accept an unknown -Wno-foo option, but will generate an error for a compile which uses -Wno-foo if that compile also triggers any warnings. llvm-svn: 174770
-
Jordan Rose authored
Should fix the MSC bot. llvm-svn: 174769
-
Jordan Rose authored
Nearly all of these changes are one-to-one replacements; the few that aren't have to do with custom identifier validation. llvm-svn: 174768
-
Jordan Rose authored
I threw in a couple of test cases for UD-suffixes -- already working, but it wasn't immediately obvious to me. llvm-svn: 174767
-
Jordan Rose authored
This may not always be valid, but we were previously just emitting them raw. While here, s/isprint/isPrintable/ (using the new CharInfo). llvm-svn: 174766
-
Jordan Rose authored
Rewriting the same predicates over and over again is bad for code size and code maintainence. Using the functions in <ctype.h> is generally unsafe unless they are specified to be locale-independent (i.e. only isdigit and isxdigit). The next commit will try to clean up uses of <ctype.h> functions within Clang. llvm-svn: 174765
-
Tom Stellard authored
llvm-svn: 174764
-
Tom Stellard authored
Also output a more useful error message. NOTE: This is a candidate for the Mesa stable branch llvm-svn: 174763
-
Tom Stellard authored
This fixes a couple of bugs and incorrect assumptions, in total four more piglit tests now pass. v2: fix small bug in the dominator updating Patch by: Christian König Signed-off-by:
Christian König <christian.koenig@amd.com> llvm-svn: 174762
-
Tom Stellard authored
Patch by: Christian König Intersecting loop handling was wrong. Signed-off-by:
Christian König <christian.koenig@amd.com> Tested-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 174761
-
Tom Stellard authored
Otherwise we sometimes produce invalid code. Patch by: Christian König Signed-off-by:
Christian König <christian.koenig@amd.com> Tested-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 174760
-
Ted Kremenek authored
llvm-svn: 174759
-
Ted Kremenek authored
llvm-svn: 174758
-
Greg Clayton authored
1 - A store off the end of a buffer in ValueObject.cpp 2 - DataExtractor had cases where bad offsets could cause invalid memory to be accessed. llvm-svn: 174757
-
Dan Gohman authored
llvm-svn: 174756
-
Greg Clayton authored
Fixed a store to data that isn't needed and that also could end up writing beyond the end of the buffer. This was found by the address sanitizer. llvm-svn: 174755
-
Greg Clayton authored
Unset the environment variables as soon as possible when running the test suite. Also don't store the unset list into a global when they aren't needed in a global variable. llvm-svn: 174750
-
Sean Silva authored
llvm-svn: 174749
-
rdar://problem/12867368Bob Wilson authored
This reverts r171041. This was a nice idea that didn't work out well. Clang warnings need to be associated with warning groups so that they can be selectively disabled, promoted to errors, etc. This simplistic patch didn't allow for that. Enhancing it to provide some way for the backend to specify a front-end warning type seems like overkill for the few uses of this, at least for now. llvm-svn: 174748
-
Reed Kotler authored
same so we put in the comment field an indicator when we think we are emitting the 16 bit version. For the direct object emitter, the difference is important as well as for other passes which need an accurate count of program size. There will be other similar putbacks to this for various instructions. llvm-svn: 174747
-
Hal Finkel authored
Previously, even when a pre-increment load or store was generated, we often needed to keep a copy of the original base register for use with other offsets. If all of these offsets are constants (including the offset which was combined into the addressing mode), then this is clearly unnecessary. This change adjusts these other offsets to use the new incremented address. llvm-svn: 174746
-
Douglas Gregor authored
read another one, just as we do for types. llvm-svn: 174745
-
Douglas Gregor authored
llvm-svn: 174744
-
Hal Finkel authored
This is a follow-up to the cost-model change in r174713 which splits the cost of a memory operation between the address computation and the actual memory access. In r174713, this cost is always added to the memory operation cost, and so BBVectorize will do the same. Currently, this new cost function is used only by ARM, and I don't have any ARM test cases for BBVectorize. Assistance in generating some good ARM test cases for BBVectorize would be greatly appreciated! llvm-svn: 174743
-
Bill Schmidt authored
llvm-svn: 174742
-
Bob Wilson authored
Aside from the question of whether we report a warning or an error when we can't satisfy a requested stack object alignment, the current implementation of this is not good. We're not providing any source location in the diagnostics and the current warning is not connected to any warning group so you can't control it. We could improve the source location somewhat, but we can do a much better job if this check is implemented in the front-end, so let's do that instead. <rdar://problem/13127907> llvm-svn: 174741
-
Hal Finkel authored
This updates the current references to links that work for me. In the future, we should update the list of references itself to provide information on newer architecture variants. Thanks to Sean Silva for pointing out that the current links were broken! llvm-svn: 174739
-
Manuel Klimek authored
llvm-svn: 174738
-
Manuel Klimek authored
This correctly formats: { a; } where { is incorrectly indented by 2, but is at level 0, when reformatting only 'a;'. llvm-svn: 174737
-
Ted Kremenek authored
Fixes <rdar://problem/12322528>. llvm-svn: 174736
-
Enrico Granata authored
llvm-svn: 174735
-
Argyrios Kyrtzidis authored
'override' on the method. This was fixed in a previous commit, generally handling attributes that are at the end of the declaration. rdar://13140589 llvm-svn: 174734
-
Howard Hinnant authored
llvm-svn: 174733
-
Howard Hinnant authored
llvm-svn: 174732
-
Howard Hinnant authored
llvm-svn: 174731
-
Ted Kremenek authored
llvm-svn: 174730
-
Fariborz Jahanian authored
involving property getter expressions on rhs of property setter. // rdar://13138459 llvm-svn: 174729
-
Daniel Dunbar authored
llvm-svn: 174726
-