| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Original message: Make sure adding a field to a struct never reduces its size. PR11745.
llvm-svn: 148070
|
| |
|
|
| |
llvm-svn: 148068
|
| |
|
|
| |
llvm-svn: 148056
|
| |
|
|
| |
llvm-svn: 148055
|
| |
|
|
|
|
|
|
| |
selector identifiers.
It was difficult to form a test case for it unfortunately.
llvm-svn: 148053
|
| |
|
|
|
|
| |
improvng the typo correction results in certain situations.
llvm-svn: 148052
|
| |
|
|
|
|
| |
list of protools. // rdar://10669694
llvm-svn: 148051
|
| |
|
|
|
|
|
| |
And once again improve the typo correction results in certain
situations just by moving the existing checks on the correction.
llvm-svn: 148037
|
| |
|
|
|
|
| |
limit the call stack depth. The analyzer can now accurately simulate factorial for limited depths.
llvm-svn: 148036
|
| |
|
|
|
|
|
|
|
| |
zero-initialize the first union member. Also fix a bug where initializing an
array of types compatible with wchar_t from a wide string literal failed in C,
and fortify the C++ tests in this area. This part can't be tested without a code
change to enable array evaluation in C (where an existing test fails).
llvm-svn: 148035
|
| |
|
|
|
|
| |
are used with that and the 'a' length modifier.
llvm-svn: 148029
|
| |
|
|
|
|
|
|
| |
expression for an Objective-C object or pointer type, so that we don't
attempt to treat the member name as a template. Fixes
<rdar://problem/10672501>.
llvm-svn: 148028
|
| |
|
|
|
|
|
| |
Before r148025 we (accidentally) didn't check whether a length modifier is
appropriate for a scanlist, but now we do.
llvm-svn: 148026
|
| |
|
|
| |
llvm-svn: 148025
|
| |
|
|
|
|
| |
in a constant expression, for compatibility with g++.
llvm-svn: 148020
|
| |
|
|
|
|
|
|
|
|
| |
was constructed, e.g. for a property access.
This allows the selector identifier locations machinery for ObjCMessageExpr
to function correctly, in that there are not real locations to handle/report for
such a message.
llvm-svn: 148013
|
| |
|
|
|
|
| |
+ all the other Retrieve..() methods + a comment for ElementRegion.
llvm-svn: 148011
|
| |
|
|
|
|
|
|
|
|
|
|
| |
To simplify the process:
Refactor taint generation checker to simplify passing the
information on which arguments need to be tainted from pre to post
visit.
Todo: We need to factor out the code that sema is using to identify the
string and memcpy functions and use it here and in the CString checker.
llvm-svn: 148010
|
| |
|
|
| |
llvm-svn: 147989
|
| |
|
|
| |
llvm-svn: 147988
|
| |
|
|
|
|
| |
argument when Offset is initialized.
llvm-svn: 147986
|
| |
|
|
|
|
| |
Remove function MipsABIInfo::GetFloatingPointTy.
llvm-svn: 147985
|
| |
|
|
| |
llvm-svn: 147984
|
| |
|
|
|
|
|
| |
in class extensions and categories by recent refactoring
of objc class ASTs. // rdar://1066654
llvm-svn: 147982
|
| |
|
|
|
|
| |
variably-modified type.
llvm-svn: 147973
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
are still added if the cached correction fails validation.
Also fix a copy-and-paste error in a comment from my previous commit.
Finally, add an example of the benefit the typo correction callback adds
to TryNamespaceTypoCorrection--which happens to also tickle the above
caching problem, as the only way a non-namespace Decl would be added to
the possible corrections is if it was cached as the correction for a
previous instance of the same typo where the typo was corrected to a
non-namespace via a different code path.
llvm-svn: 147968
|
| |
|
|
| |
llvm-svn: 147963
|
| |
|
|
|
|
|
|
|
| |
Also includes two examples of the callback: a wrapper/replacement for
the CorrectTypoContext enum, and a conversion of the two calls to
CorrectTypo in SemaDeclCXX.cpp (one of which provides verifiable
improvement to the typo correction, as demonstrated in the added test).
llvm-svn: 147962
|
| |
|
|
|
|
|
| |
life-time to that of its backing 'ivar's lifetime.
// rdar://10558871
llvm-svn: 147956
|
| |
|
|
|
|
| |
implicitly marked constexpr when they should be.
llvm-svn: 147955
|
| |
|
|
|
|
|
|
|
| |
- Support gcc-compatible vfpv3 name in addition to vfp3.
- Support vfpv3-d16.
- Disable neon feature for -mfpu=vfp* (yes, we were emitting Neon instructions
for those!).
llvm-svn: 147943
|
| |
|
|
| |
llvm-svn: 147933
|
| |
|
|
|
|
|
|
|
|
|
|
| |
small refactoring for
the common *alloc functions as well as a few tiny wibbles (adds a note
to CWE/CERT advisory numbers in the bug output, and fixes a couple
80-column-wide violations.)"
Patch by Austin Seipp!
llvm-svn: 147931
|
| |
|
|
|
|
|
| |
downgrade the default-error warning to an ExtWarn in
C90/99. <rdar://problem/10668057>
llvm-svn: 147925
|
| |
|
|
| |
llvm-svn: 147920
|
| |
|
|
|
|
| |
a rvalue, which is a useful step during AST evaluation.
llvm-svn: 147918
|
| |
|
|
|
|
| |
shared between lambda expressions and block literals.
llvm-svn: 147917
|
| |
|
|
|
|
|
|
|
|
| |
inlining for straight C calls.
My hope is to reimplement this from first principles based on the simplifications of removing unneeded node builders
and re-evaluating how C++ calls are handled in the CFG. The hope is to turn inlining "on-by-default" as soon as possible
with a core set of things working well, and then expand over time.
llvm-svn: 147904
|
| |
|
|
|
|
| |
new-expressions.
llvm-svn: 147900
|
| |
|
|
|
|
| |
floating point type.
llvm-svn: 147894
|
| |
|
|
|
|
| |
passed in floating point registers.
llvm-svn: 147892
|
| |
|
|
| |
llvm-svn: 147889
|
| |
|
|
|
|
| |
floating point formats.
llvm-svn: 147887
|
| |
|
|
|
|
| |
namespace declaration invalid
llvm-svn: 147882
|
| |
|
|
|
|
|
|
|
|
| |
for the arm-linux-androideabi triple in particular.
Also use this to do a better job of selecting soft FP settings.
Patch by Evgeniy Stepanov.
llvm-svn: 147872
|
| |
|
|
|
|
| |
ownership of property sent to 'super'. // rdar://10640891
llvm-svn: 147868
|
| |
|
|
| |
llvm-svn: 147864
|
| |
|
|
|
|
| |
passing on i386 and does not use registers.
llvm-svn: 147856
|
| |
|
|
| |
llvm-svn: 147854
|
| |
|
|
| |
llvm-svn: 147849
|