| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
into Lexer and Preprocessor; making it widely available.
llvm-svn: 148410
|
| |
|
|
| |
llvm-svn: 148408
|
| |
|
|
|
|
|
| |
in favor of usage of api's intended for.
// rdar://8290002
llvm-svn: 148404
|
| |
|
|
|
|
|
|
| |
containing, among other things, a single backtick character.
rdar://problem/10712130
llvm-svn: 148403
|
| |
|
|
| |
llvm-svn: 148401
|
| |
|
|
| |
llvm-svn: 148400
|
| |
|
|
| |
llvm-svn: 148399
|
| |
|
|
| |
llvm-svn: 148396
|
| |
|
|
| |
llvm-svn: 148394
|
| |
|
|
|
|
| |
also needs -fcxx-modules to enable modules for C++/Objective-C++.
llvm-svn: 148393
|
| |
|
|
| |
llvm-svn: 148392
|
| |
|
|
|
|
| |
never are
llvm-svn: 148391
|
| |
|
|
|
|
|
|
| |
L'x' is actually wchar_t
support C11 u and U char literals
llvm-svn: 148390
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates ProcessUCNExcape() for C++. C++11 allows UCNs in character
and string literals that represent control characters and basic
source characters. Also C++03 allows UCNs that refer to surrogate
codepoints.
UTF-8 sequences in character literals are now handled as single
c-chars.
Added error for multiple characters in Unicode character literals.
Added errors for when a the execution charset encoding of a c-char
cannot be represented as a single code unit in the associated
character type. Note that for the purposes of this error the asso-
ciated character type for a narrow character literal is char, not
int, even though in C narrow character literals have type int.
llvm-svn: 148389
|
| |
|
|
| |
llvm-svn: 148388
|
| |
|
|
| |
llvm-svn: 148387
|
| |
|
|
| |
llvm-svn: 148386
|
| |
|
|
|
|
| |
anymore and should be cleaned up.
llvm-svn: 148385
|
| |
|
|
| |
llvm-svn: 148384
|
| |
|
|
|
|
| |
vector type to another, we must not bitcast the result if one type is widened while the other is promoted.
llvm-svn: 148383
|
| |
|
|
|
|
|
|
|
|
|
|
| |
No new unit tests yet as there is no behavioral change
(except for slightly more specific filtering in
Sema::ActOnStartOfLambdaDefinition). Tests will be added
as the code paths are traced in greater depth to determine
how to improve the results--there are at least one or two
known bugs that require those improvements. This commit
lays the groundwork for those changes.
llvm-svn: 148382
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
for it to be used in converted constant expression checking, and fix a couple
of issues:
- Conversion operators implicitly invoked prior to the narrowing conversion
were not being correctly handled when determining whether a constant value
was narrowed.
- For conversions from floating-point to integral types, the diagnostic text
incorrectly always claimed that the source expression was not a constant
expression.
llvm-svn: 148381
|
| |
|
|
| |
llvm-svn: 148380
|
| |
|
|
|
|
|
|
|
|
| |
from consideration during test discovery. For example:
./dotest.py -X types -v
from the test dir will ignore test cases under test/types.
llvm-svn: 148379
|
| |
|
|
| |
llvm-svn: 148378
|
| |
|
|
|
|
| |
TwoAddressInstructionPass to insert copies for any physical reg operands of the REG_SEQUENCE
llvm-svn: 148377
|
| |
|
|
|
|
| |
referencing a class field from outside an instance method.
llvm-svn: 148376
|
| |
|
|
| |
llvm-svn: 148375
|
| |
|
|
|
|
| |
builtin.
llvm-svn: 148374
|
| |
|
|
|
|
| |
inspection.
llvm-svn: 148373
|
| |
|
|
|
|
|
|
|
| |
TaintPropagationRule::process().
Also remove the "should be a pointer argument" warning - should be
handled elsewhere.
llvm-svn: 148372
|
| |
|
|
|
|
|
|
|
|
| |
size (Ex: in malloc, memcpy, strncpy..)
(Maybe some of this could migrate to the CString checker. One issue
with that is that we might want to separate security issues from
regular API misuse.)
llvm-svn: 148371
|
| |
|
|
|
|
| |
functions.
llvm-svn: 148370
|
| |
|
|
| |
llvm-svn: 148369
|
| |
|
|
| |
llvm-svn: 148368
|
| |
|
|
|
|
| |
PotentiallyPotentiallyEvaluated contexts. In preparation for making sizeof() PotentiallyPotentiallyEvaluated.
llvm-svn: 148367
|
| |
|
|
|
|
|
|
|
|
| |
Load/store instructions w/ a fixup to be relative a function marked as thumb
don't use the low bit to specify thumb vs. non-thumb like interworking
branches do, so don't set it when dealing with those fixups.
rdar://10348687.
llvm-svn: 148366
|
| |
|
|
| |
llvm-svn: 148365
|
| |
|
|
| |
llvm-svn: 148364
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When set, this bit indicates that a register is completely defined by
the value of its sub-registers.
Use the CoveredBySubRegs property to infer which super-registers are
call-preserved given a list of callee-saved registers. For example, the
ARM registers D8-D15 are callee-saved. This now automatically implies
that Q4-Q7 are call-preserved.
Conversely, Win64 callees save XMM6-XMM15, but the corresponding
YMM6-YMM15 registers are not call-preserved because they are not fully
defined by their sub-registers.
llvm-svn: 148363
|
| |
|
|
|
|
| |
paths.
llvm-svn: 148362
|
| |
|
|
| |
llvm-svn: 148361
|
| |
|
|
| |
llvm-svn: 148360
|
| |
|
|
|
|
| |
patch (slightly revised) by Aaron Ballman.
llvm-svn: 148359
|
| |
|
|
| |
llvm-svn: 148358
|
| |
|
|
|
|
| |
Move ARM callee-saved lists into ARMCallingConv.td.
llvm-svn: 148357
|
| |
|
|
|
|
|
| |
The JIT is expected to take ownership of the TM that's passed in. The MCJIT
wasn't freeing it, resulting in leaks.
llvm-svn: 148356
|
| |
|
|
|
|
|
|
| |
rely on property's type for its life-time to avoid
bogus warning with -Warc-unsafe-retained-assign.
// rdar://10694932
llvm-svn: 148355
|
| |
|
|
| |
llvm-svn: 148354
|
| |
|
|
|
|
|
|
| |
support. This means you can now write:
for (int i : {1, 4, 512, 23, 251}) {}
llvm-svn: 148353
|