| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
start with "get" are inferreed as a readonly properties.
llvm-svn: 190532
|
| |
|
|
| |
llvm-svn: 190531
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RegionStore tries to protect against accidentally initializing the same
region twice, but it doesn't take subregions into account very well. If
the outer region being initialized is a struct with an empty base class,
the offset of the first field in the struct will be 0. When we initialize
the base class, we may invalidate the contents of the struct by providing
a default value of Unknown (or some new symbol). We then go to initialize
the member with a zeroing constructor, only to find that the region at
that offset in the struct already has a value. The best we can do here is
to invalidate that value and continue; neither the old default value nor
the new 0 is correct for the entire struct after the member constructor call.
The correct solution for this is to track region extents in the store.
<rdar://problem/14914316>
llvm-svn: 190530
|
| |
|
|
|
|
|
| |
This also bakes the /M options into a separate option group to make
them easier to refer to from the code.
llvm-svn: 190529
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes PR16182.
Normally RAV visits parameter variable declarations of a function by traversing the TypeLoc of
the parameter declarations. However, for implicit functions, their parameters don't have any
TypeLoc, because they are implicit.
So for implicit functions, we visit their parameter variable declarations by traversing them through
the function declaration, and visit them accordingly.
Reviewed by Richard Smith and Manuel Klimek.
llvm-svn: 190528
|
| |
|
|
|
|
| |
Cuts down the bloat in the AArch64 asm writer a bit.
llvm-svn: 190527
|
| |
|
|
| |
llvm-svn: 190526
|
| |
|
|
| |
llvm-svn: 190525
|
| |
|
|
| |
llvm-svn: 190524
|
| |
|
|
|
|
| |
+ formatting fixes.
llvm-svn: 190523
|
| |
|
|
|
|
| |
r190509, r190512, and r190518.
llvm-svn: 190522
|
| |
|
|
|
|
|
|
|
| |
The code in CGExpr was added back in 2012 (r165536) but not exercised in tests
until recently.
Detected on the MemorySanitizer bootstrap bot.
llvm-svn: 190521
|
| |
|
|
|
|
| |
... as this otherwise triggers -Wnon-virtual-dtor.
llvm-svn: 190520
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
reformat() tries to determine the newline style used in the input
(either LF or CR LF), and uses it for the output. Maybe not every single case is
supported, but at least the bug described in http://llvm.org/PR17182 should be
resolved.
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D1643
llvm-svn: 190519
|
| |
|
|
|
|
| |
from normal IR (i.e. not intrinsics)
llvm-svn: 190518
|
| |
|
|
|
|
| |
sed(1) to let paths with a driveletter quoted in *_expected.yaml.
llvm-svn: 190517
|
| |
|
|
| |
llvm-svn: 190516
|
| |
|
|
| |
llvm-svn: 190515
|
| |
|
|
|
|
| |
Otherwise SequenceToOffsetTable will sort by pointer and becomes non-deterministic.
llvm-svn: 190514
|
| |
|
|
|
|
| |
Go build
llvm-svn: 190513
|
| |
|
|
|
|
| |
fsqrt, and fsub from normal IR (i.e. not intrinsics)
llvm-svn: 190512
|
| |
|
|
| |
llvm-svn: 190511
|
| |
|
|
|
|
|
|
| |
This reflects the common use case of nativizing a prepared path. The existing
version invokes undefined behavior if input = output, add an assert to catch
that case.
llvm-svn: 190510
|
| |
|
|
|
|
| |
intrinsics)
llvm-svn: 190509
|
| |
|
|
|
|
|
|
|
|
|
| |
With r190382, -Wunused-variable warns about unused const variables when
appropriate. For codebases that use -Werror, this poses a problem as
existing unused const variables need to be cleaned up first. To make the
transistion easier, this patch splits -Wunused-variable by pulling out
an additional -Wunused-const-variable (by default activated along with
-Wunused-variable).
llvm-svn: 190508
|
| |
|
|
|
|
| |
The corresponding intrinsic is now lowered into equivalent IR (ISD::ADD) before instruction selection.
llvm-svn: 190507
|
| |
|
|
|
|
|
|
| |
will diverge soon
No functional change
llvm-svn: 190506
|
| |
|
|
|
|
|
| |
The elements of the operands should be half the width of the elements of
the result.
llvm-svn: 190505
|
| |
|
|
| |
llvm-svn: 190504
|
| |
|
|
| |
llvm-svn: 190503
|
| |
|
|
| |
llvm-svn: 190502
|
| |
|
|
|
|
| |
NumCallArguments in Sema::getMostSpecialized(). They were removed since r190444. [-Wdocumentation]
llvm-svn: 190501
|
| |
|
|
| |
llvm-svn: 190500
|
| |
|
|
| |
llvm-svn: 190499
|
| |
|
|
|
|
|
| |
This doesn't change anything since malloc always returns
address space 0.
llvm-svn: 190498
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is the first step to make module-map-files modular (instead
of requiring a single "module.map"-file per include directory). This
step adds a new "extern module" declaration that enables
module-map-files to reference one another along with a very basic
implementation.
The next steps are:
* Combine this with the use-declaration (from
http://llvm-reviews.chandlerc.com/D1546) in order to only load module
map files required for a specific compilation.
* Add an additional flag to start with a specific module-map-file (instead
of requiring there to be at least one "module.map").
Review: http://llvm-reviews.chandlerc.com/D1637
llvm-svn: 190497
|
| |
|
|
| |
llvm-svn: 190496
|
| |
|
|
| |
llvm-svn: 190492
|
| |
|
|
| |
llvm-svn: 190491
|
| |
|
|
| |
llvm-svn: 190490
|
| |
|
|
| |
llvm-svn: 190489
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
More accurately characterize the nature of array parameters. Doing this
removes false back-reference opportunities. Remove some hacks now that
we characterize these better.
Reviewers: rnk, timurrrr, whunt, cdavis5x
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1626
llvm-svn: 190488
|
| |
|
|
| |
llvm-svn: 190487
|
| |
|
|
| |
llvm-svn: 190486
|
| |
|
|
| |
llvm-svn: 190485
|
| |
|
|
|
|
| |
PR17123.
llvm-svn: 190484
|
| |
|
|
| |
llvm-svn: 190483
|
| |
|
|
|
|
|
|
|
| |
Fixes a crash in cases where the first argument was an incomplete type
or an uninstantiated template type.
<rdar://problem/14938471>
llvm-svn: 190482
|
| |
|
|
|
|
| |
constructor, copy assignment operator and move assignment operator.
llvm-svn: 190481
|
| |
|
|
|
|
| |
It was turning the buildbots red.
llvm-svn: 190480
|