| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
initializer lists.
llvm-svn: 148352
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are 5 functions of this name in Sema, and 6 more static helpers in
SemaTemplateDeduction.cpp. The Sema functions have jobs like "deduce for
function call", "deduce for taking the address", etc. The static helpers
have jobs like "deduce by comparing two types", "deduce by comparing two
lists of types", "deduce by comparing two template arguments", etc.
The fact that they all are called the same and only differ in two of their
6 or more arguments makes the code using them very hard to read.
Here I rename the one function that concerns me most at the moment, but
as a matter of cleanup, the others will eventually be renamed as well.
llvm-svn: 148351
|
| |
|
|
| |
llvm-svn: 148350
|
| |
|
|
|
|
| |
This does not yet support CodeGen.
llvm-svn: 148349
|
| |
|
|
|
|
| |
operations.
llvm-svn: 148348
|
| |
|
|
|
|
| |
Add a trivial implementation of the getCallPreservedMask() hook.
llvm-svn: 148347
|
| |
|
|
|
|
|
|
|
| |
Targets can now add CalleeSavedRegs defs to their *CallingConv.td file.
TableGen will use this to create a *_SaveList array suitable for
returning from getCalleeSavedRegs() as well as a *_RegMask bit mask
suitable for returning from getCallPreservedMask().
llvm-svn: 148346
|
| |
|
|
|
|
| |
changes i64 alignment from 64 to 32 for powerpc-darwin
llvm-svn: 148345
|
| |
|
|
| |
llvm-svn: 148344
|
| |
|
|
| |
llvm-svn: 148343
|
| |
|
|
| |
llvm-svn: 148342
|