- Oct 12, 2011
-
-
Evan Cheng authored
Disable machine LICM speculation check (for profitability) until I have time to investigate the regressions. llvm-svn: 141813
-
Cameron Zwarich authored
rather than the previous index. If a block has a single instruction, the previous index may be in a different basic block. I have no clue how this used to work on all of test-suite, because now this failure is seen quite often when trying to compile code with -strong-phi-elim. This fixes PR10252. llvm-svn: 141812
-
Jim Grosbach authored
llvm-svn: 141811
-
Johnny Chen authored
llvm-svn: 141810
-
Douglas Gregor authored
part of template argument deduction is ill-formed, we mark it as invalid and treat it as a deduction failure. If we happen to find that specialization again, treat it as a deduction failure rather than silently building a call to the declaration. Fixes PR11117, a marvelous bug where deduction failed after creating an invalid specialization, causing overload resolution to pick a different candidate. Then we performed a similar overload resolution later, and happily picked the invalid specialization to call... resulting in a silent link failure. llvm-svn: 141809
-
Sean Callanan authored
calls to the FindExternalVisibleDecls function. FindExternalVisibleDecls was recording whether it had found generic function symbols in variables that were local to the function. Now, however, multiple calls occur in response to one request from Clang, since we may be searching across namespaces. To support that, I moved the local variables into a bitfield in NameSearchContext. llvm-svn: 141808
-
Nick Lewycky authored
llvm-svn: 141807
-
Ted Kremenek authored
llvm-svn: 141806
-
Bob Wilson authored
This changes clang to match GCC's behavior for __extension__, which temporarily disables the -pedantic flag. Warnings that are enabled without -pedantic are not affected. Besides the general goodness of matching GCC's precedent, my motivation for this is that macros in the arm_neon.h header need to use __extension__ to avoid pedantic complaints about their use of statement expressions, yet we still want to warn about incompatible pointer arguments for those macros. llvm-svn: 141804
-
Rafael Espindola authored
the same behavior of gcc by keeping the attribute out of the function type. llvm-svn: 141803
-
Ted Kremenek authored
Implement built-in macro '__has_warning', which allows one to query if a warning flag is valid. Fixes <rdar://problem/10263428>. llvm-svn: 141802
-
Douglas Gregor authored
We'd also like for "C++11" or "c++11" to be used for the warning groups, but without removing the old warning flags. Patches welcome; I've run out of time to work on this today. llvm-svn: 141801
-
Johnny Chen authored
llvm-svn: 141800
-
Johnny Chen authored
which contains the lldb init file and a utils.py Python module in order to add the 'pwd', 'cd', and 'system' lldb commands. llvm-svn: 141799
-
Douglas Gregor authored
llvm-svn: 141798
-
Sean Callanan authored
proper namespace-aware APIs. llvm-svn: 141797
-
Eric Christopher authored
llvm-svn: 141796
-
Douglas Gregor authored
llvm-svn: 141795
-
Jim Grosbach authored
llvm-svn: 141794
-
Ted Kremenek authored
llvm-svn: 141793
-
Sean Callanan authored
data symbols in namespaces. llvm-svn: 141792
-
Johnny Chen authored
llvm-svn: 141790
-
Sean Callanan authored
level FindFunctions() where appropriate and not use SymbolContext::FindFunctionsByName(). llvm-svn: 141789
-
Argyrios Kyrtzidis authored
fixes http://llvm.org/PR11120 llvm-svn: 141788
-
Jim Grosbach authored
llvm-svn: 141787
-
Jim Grosbach authored
llvm-svn: 141786
-
Douglas Gregor authored
llvm-svn: 141785
-
Sean Callanan authored
llvm-svn: 141784
-
Sean Callanan authored
module and namespace. Also made it use FindGlobalVariables() instead of the more heavyweight GetVariablesForVariableExpressionPath(). llvm-svn: 141783
-
Douglas Gregor authored
delimiter pairs and detect when we exceed the implementation limit for nesting depth, from Aaron Ballman! llvm-svn: 141782
-
Jim Grosbach authored
llvm-svn: 141781
-
Jim Grosbach authored
llvm-svn: 141780
-
Dan Gohman authored
intended, but only by accident. llvm-svn: 141779
-
Douglas Gregor authored
ignore access entirely for it) and not to crash on assignment operator templates. Fixes PR11110. llvm-svn: 141777
-
NAKAMURA Takumi authored
lib/Object/ELFObjectFile.cpp: Fix undefined behavior for MC/ELF/many-section.s not to fail (on msvc). DenseMap::lookup(k) would return "default constructor value" when k was not met. It would be useless when value type were POD. llvm-svn: 141774
-
Jim Goodnow II authored
llvm-svn: 141773
-
Anton Korobeynikov authored
Patch by Hal Finkel! llvm-svn: 141772
-
Argyrios Kyrtzidis authored
taking into account macro arguments. llvm-svn: 141771
-
Argyrios Kyrtzidis authored
llvm-svn: 141770
-
Argyrios Kyrtzidis authored
llvm-svn: 141769
-