- Apr 04, 2012
-
-
Ted Kremenek authored
Include the "issue context" (e.g. function or method) where a static analyzer issue occurred in the plist output. Fixes <rdar://problem/11004527> llvm-svn: 154030
-
Douglas Gregor authored
number + context) to the point where we initially start defining the lambda, so that the linkage won't change when that information is made available. Fixes the assertion in <rdar://problem/11182962>. Plus, actually mangle the context of lambdas properly. llvm-svn: 154029
-
Enrico Granata authored
llvm-svn: 154028
-
Enrico Granata authored
Fixing a potential crasher where Python would assume we have no thread state while clearing out an SBDebugger which was acquiring input from the interactive interpreter llvm-svn: 154027
-
Enrico Granata authored
Adding a new --python-function (-F) option to breakpoint command add. The option allows the user to specify a Python function name instead of a Python oneliner or interactive script input as a breakpoint command llvm-svn: 154026
-
Fariborz Jahanian authored
of extern "C". // rdar://11169733 llvm-svn: 154025
-
Bob Wilson authored
llvm-svn: 154018
-
NAKAMURA Takumi authored
It seems JSON parser doesn't like path separator '\' on Win32 hosts. llvm-svn: 154017
-
NAKAMURA Takumi authored
llvm-svn: 154016
-
NAKAMURA Takumi authored
$ENV{PWD} is not expected to be set on all hosts. llvm-svn: 154015
-
Hongbin Zheng authored
the loop should be unrolled according the value of OptSizeUnrollThreshold. llvm-svn: 154014
-
David Chisnall authored
Don't crash (assert failure) when generating blocks for C++ types with a non-const copy constructor. This was caused by the code deciding the number of fields in the byref structure using a different test to the part of the code creating the GEPs into said structure. llvm-svn: 154013
-
Manuel Klimek authored
llvm-svn: 154012
-
Rafael Espindola authored
This allows us to keep passing reduced masks to SimplifyDemandedBits, but know about all the bits if SimplifyDemandedBits fails. This allows instcombine to simplify cases like the one in the included testcase. llvm-svn: 154011
-
Benjamin Kramer authored
llvm-svn: 154010
-
Manuel Klimek authored
can be integration tested. llvm-svn: 154009
-
Manuel Klimek authored
Provides an API to run clang tools (FrontendActions) as standalone tools, or repeatedly in-memory in a process. This is useful for unit-testing, map-reduce style applications, source transformation daemons or command line tools. The ability to run over multiple translation units with different command line arguments enables building up refactoring tools that need to apply transformations across translation unit boundaries. See tools/clang-check/ClangCheck.cpp for an example. llvm-svn: 154008
-
Hongbin Zheng authored
reducing unroll count, otherwise the reduced unroll count is not taking the "OptimizeForSize" attribute into account. llvm-svn: 154007
-
Alexey Samsonov authored
llvm-svn: 154006
-
Benjamin Kramer authored
llvm-svn: 154005
-
Benjamin Kramer authored
llvm-svn: 154004
-
Benjamin Kramer authored
MSVC8 verifies this. llvm-svn: 154002
-
Bob Wilson authored
llvm-svn: 154001
-
Richard Smith authored
No test updates: we don't appear to have any test coverage for these diagnostics! llvm-svn: 154000
-
Richard Smith authored
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
-
Douglas Gregor authored
be sure to perform the argument type adjustments in [temp.deduct.call]p2, e.g., array decay. And, when performing these deductions in the context of 'auto', make sure that we're deducing the P' in std::initializer_list<P'> rather than the whole initializer list. Together, this makes code like for( auto s : {"Deferred", "New", "Open", "Review"}) { } work properly. llvm-svn: 153998
-
Craig Topper authored
llvm-svn: 153997
-
Craig Topper authored
llvm-svn: 153996
-
Douglas Gregor authored
list-initialization. Loosen an over-eager assertion to fix PR12453. llvm-svn: 153995
-
Argyrios Kyrtzidis authored
cached during the non-cached lex, otherwise we are going to drop them. Fixes a bogus "_Pragma takes a parenthesized string literal" error when expanding consecutive _Pragmas in a macro argument. Part of rdar://11168596 llvm-svn: 153994
-
John McCall authored
for converting an empty list to a scalar, be sure to initialize the source and destination types so that comparison of conversion sequences will work in case there are multiple viable candidates. llvm-svn: 153993
-
Nick Lewycky authored
keep the latter. No test. This was noticed when poking around something else with GDB. I'm not able to figure out a testcase that would break due to this bug. Sorry. llvm-svn: 153992
-
John McCall authored
patch by Timur Iskhodzhanov. llvm-svn: 153990
-
John McCall authored
statement-expressions. Prevents cleanups and such from being claimed by the first full-expression in the block. llvm-svn: 153989
-
Ted Kremenek authored
llvm-svn: 153988
-
Ted Kremenek authored
console, and leave it up to PathDiagnosticConsumer to unique reports with the shortest path. llvm-svn: 153987
-
Ted Kremenek authored
llvm-svn: 153986
-
Ted Kremenek authored
llvm-svn: 153985
-
Pete Cooper authored
llvm-svn: 153984
-
Douglas Gregor authored
for templates with local template arguments, from Michel Morin! Fixes PR12337. llvm-svn: 153983
-