| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
"No method actually called because receiver is nil" ->
"No method is called because receiver is nil"
llvm-svn: 154077
|
| |
|
|
| |
llvm-svn: 154076
|
| |
|
|
| |
llvm-svn: 154075
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* s/nonstatic/non-static/ in the diagnostics, since the latter form outvoted
the former by 28-2 in our diagnostics.
* Fix the "use of member in static member function" diagnostic to correctly
detect this situation inside a block or lambda.
* Produce a more specific "invalid use of non-static member" diagnostic for
the case where a nested class member refers to a member of a
lexically-surrounding class.
llvm-svn: 154073
|
| |
|
|
|
|
| |
where wchar_t is only 16 bits wide.
llvm-svn: 154072
|
| |
|
|
| |
llvm-svn: 154071
|
| |
|
|
|
|
|
|
|
|
| |
String literals (including unicode ones) can contain non-Unicode codepoints
if they were written using \x or similar. Write those out using \x, but be
careful that the following character can't be misinterpreted as part of the
\x escape sequence. Convert UTF-16 surrogate pairs back to codepoints before
rendering them.
llvm-svn: 154069
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This diagnostic seems to be production ready, it's just an oversight that it
wasn't turned on by default.
The test changes are a bit of a mixed bag. Some tests that seemed like they
clearly didn't need to use this behavior have been modified not to use it.
Others that I couldn't be sure about, I added the necessary expected-warnings
to.
It's possible the diagnostic message could be improved to make it clearer that
this warning can be suppressed by using a value that won't lose precision when
converted to the target type (but can still be a floating point literal, such
as "bool b = 1.0;").
llvm-svn: 154068
|
| |
|
|
|
|
| |
It seems clang-check doesn't like gcc driver on cygming. Investigating.
llvm-svn: 154066
|
| |
|
|
|
|
|
| |
std::initializer_list<T> so long as <T> is known. This conversion has
identity rank.
llvm-svn: 154065
|
| |
|
|
|
|
| |
Review at http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120402/055759.html
llvm-svn: 154064
|
| |
|
|
|
|
|
| |
enable neonfp on a CPU that doesn't support NEON.
rdar://11108618
llvm-svn: 154061
|
| |
|
|
|
|
| |
__thread.
llvm-svn: 154058
|
| |
|
|
| |
llvm-svn: 154056
|
| |
|
|
|
|
| |
or function with internal linkage as a non-type template argument.
llvm-svn: 154053
|
| |
|
|
| |
llvm-svn: 154052
|
| |
|
|
| |
llvm-svn: 154050
|
| |
|
|
|
|
| |
duplication. No functional change intended.
llvm-svn: 154049
|
| |
|
|
| |
llvm-svn: 154047
|
| |
|
|
|
|
|
|
|
|
|
| |
uses Neon instructions for single-precision FP.
-mfpmath=neon is analogous to passing llc -mattr=+neonfp.
-mfpmath=[vfp|vfp2|vfp3|vfp4] is analogous to passing llc -mattr=-neonfp.
rdar://11108618
llvm-svn: 154046
|
| |
|
|
|
|
|
| |
in arc mode and opted-in with -Wreceiver-is-weak flag.
// rdar://10225276
llvm-svn: 154042
|
| |
|
|
|
|
|
|
| |
the DeadStoresChecker.
Fixes <rdar://problem/11185138>.
llvm-svn: 154040
|
| |
|
|
|
|
|
| |
rewriter specific option to cc1 with -rewrite-objc.
// rdar://11143173
llvm-svn: 154037
|
| |
|
|
| |
llvm-svn: 154035
|
| |
|
|
|
|
|
|
| |
analyzer issue occurred in the plist output.
Fixes <rdar://problem/11004527>
llvm-svn: 154030
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
of extern "C". // rdar://11169733
llvm-svn: 154025
|
| |
|
|
| |
llvm-svn: 154018
|
| |
|
|
|
|
| |
It seems JSON parser doesn't like path separator '\' on Win32 hosts.
llvm-svn: 154017
|
| |
|
|
| |
llvm-svn: 154016
|
| |
|
|
|
|
| |
$ENV{PWD} is not expected to be set on all hosts.
llvm-svn: 154015
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 154012
|
| |
|
|
| |
llvm-svn: 154010
|
| |
|
|
|
|
| |
can be integration tested.
llvm-svn: 154009
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 154005
|
| |
|
|
| |
llvm-svn: 154001
|
| |
|
|
|
|
| |
No test updates: we don't appear to have any test coverage for these diagnostics!
llvm-svn: 154000
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
list-initialization. Loosen an over-eager assertion to fix PR12453.
llvm-svn: 153995
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
tokens
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
patch by Timur Iskhodzhanov.
llvm-svn: 153990
|
| |
|
|
|
|
|
| |
statement-expressions. Prevents cleanups and such from being
claimed by the first full-expression in the block.
llvm-svn: 153989
|
| |
|
|
| |
llvm-svn: 153988
|
| |
|
|
|
|
|
|
| |
diagnostics emitted to the
console, and leave it up to PathDiagnosticConsumer to unique reports with the shortest path.
llvm-svn: 153987
|
| |
|
|
| |
llvm-svn: 153986
|