| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Various tests had sprung up over the years which had --check-prefix=ABC on the
RUN line, but "CHECK-ABC:" later on. This happened to work before, but was
strictly incorrect. FileCheck is getting stricter soon though.
Patch by Ron Ofir.
llvm-svn: 188174
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
template <class CallbackClass>
using MyCallback = void(CallbackClass::*)(SomeObject * Data);");
After:
template <class CallbackClass>
using MyCallback = void (CallbackClass::*)(SomeObject *Data);");
Also fix three wrong indentations.
llvm-svn: 188172
|
| |
|
|
| |
llvm-svn: 188170
|
| |
|
|
|
|
|
|
|
| |
Previously these were formatting as catch (E & e) because the inner parenthesis
was being marked as an expression.
Patch by Thomas Gibson-Robinson.
llvm-svn: 188153
|
| |
|
|
| |
llvm-svn: 188151
|
| |
|
|
|
|
| |
include/clang/Basic/LLVM.h.
llvm-svn: 188139
|
| |
|
|
|
|
| |
in include/clang/Basic/LLVM.h.
llvm-svn: 188138
|
| |
|
|
|
|
|
|
| |
instantiated in this scope")
Differential Revision: http://llvm-reviews.chandlerc.com/D920
llvm-svn: 188137
|
| |
|
|
| |
llvm-svn: 188134
|
| |
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D924
llvm-svn: 188133
|
| |
|
|
| |
llvm-svn: 188132
|
| |
|
|
| |
llvm-svn: 188128
|
| |
|
|
|
|
|
|
|
| |
- va_list checker (PR16811 and PR16812)
- Model floating-point values
- Bound bitwise masking operations (PR16615)
- Bound C string length (PR16558 and others)
llvm-svn: 188127
|
| |
|
|
| |
llvm-svn: 188126
|
| |
|
|
|
|
| |
CXXPseudoDestructorExprs may not contain a type. PR16852.
llvm-svn: 188123
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Source-centric tools need access to the location of a C++11
lambda expression's capture-default ('&' or '=') when it's present.
It's possible for them to find it by re-lexing and re-implementing
rules that Clang's parser has already applied, but the cost of storing
the SourceLocation and making it available to them is 32 bits per
LambdaExpr (a small delta, proportionally), and the simplification in
client code is significant.
Reviewers: rsmith
Reviewed By: rsmith
CC: cfe-commits, klimek, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D1192
llvm-svn: 188121
|
| |
|
|
| |
llvm-svn: 188120
|
| |
|
|
|
|
|
|
|
|
| |
comparing non-reference function parameters. The qualifiers don't matter for
comparisons.
This is a re-commit of r187769, which was accidentially reverted in r187770,
with a simplification at the suggestion of Eli Friedman.
llvm-svn: 188112
|
| |
|
|
|
|
|
|
|
|
| |
separately because ParentMap does not record
Stmt parent nodes inside a BlockDecl.
Fixes rdar://14686900
llvm-svn: 188101
|
| |
|
|
|
|
| |
include/clang/Basic/LLVM.h.
llvm-svn: 188089
|
| |
|
|
| |
llvm-svn: 188088
|
| |
|
|
|
|
|
| |
Since r187945, clang-cl will add the runtime library dependency to
the .obj file.
llvm-svn: 188086
|
| |
|
|
|
|
|
|
|
|
|
|
| |
just ODR use.
This includes special members (copy/default ctor, copy assign, default
ctor) and template specializations for member function templates.
Good for a 5% decrease (1.80 to 1.71 GB) in size on Clang+LLVM's .dwo
files (when using fission).
llvm-svn: 188085
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 188084
|
| |
|
|
|
|
| |
Avoids unnecessary static constructors.
llvm-svn: 188083
|
| |
|
|
| |
llvm-svn: 188072
|
| |
|
|
| |
llvm-svn: 188068
|
| |
|
|
|
|
| |
it as readnone.
llvm-svn: 188065
|
| |
|
|
| |
llvm-svn: 188063
|
| |
|
|
|
|
|
|
|
| |
Make sure we can properly generate code when the UUID has curly braces
on it, strip the curly braces at the sema layer.
This fixes PR16813.
llvm-svn: 188061
|
| |
|
|
|
|
| |
Revert r188055 which reverted r188053. An unrelated change previously snuck in.
llvm-svn: 188060
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
ExprEngine had code which specificaly disabled using CXXTempObjectRegions in
InitListExprs. This was a hack put in r168757 to silence a false positive.
The underlying problem seems to have been fixed in the mean time, as removing
this code doesn't seem to break anything. Therefore I propose to remove it and
solve PR16629 in the process.
Reviewers: jordan_rose
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1325
llvm-svn: 188059
|
| |
|
|
| |
llvm-svn: 188058
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
double-width characters in FixIt-hints.
Summary: This is a follow-up to r187837.
Reviewers: gribozavr, jordan_rose
Reviewed By: jordan_rose
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1306
llvm-svn: 188056
|
| |
|
|
|
|
|
|
|
|
| |
proper section"
This commit reverts r188053.
It is breaking the build bots.
llvm-svn: 188055
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We mangled them like:
L___uuid_12345678-1234-1234-1234-123456789abc
We should've mangled them like:
__GUID_12345678_1234_1234_1234_123456789abc
Furthermore, they are external symbols.
llvm-svn: 188053
|
| |
|
|
|
|
|
|
| |
of local classes. We were previously handling this by performing qualified
lookup within a function declaration(!!); replace it with the proper scope
lookup.
llvm-svn: 188050
|
| |
|
|
|
|
| |
Patch by Karthik Bhat, modified slightly by me.
llvm-svn: 188043
|
| |
|
|
| |
llvm-svn: 188042
|
| |
|
|
| |
llvm-svn: 188041
|
| |
|
|
|
|
|
|
|
|
| |
This option prints information about #included files to stderr. Clang could
already do it, this patch just teaches the existing code about the /showIncludes
style and adds the flag.
Differential Revision: http://llvm-reviews.chandlerc.com/D1333
llvm-svn: 188037
|
| |
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D1328
llvm-svn: 188027
|
| |
|
|
| |
llvm-svn: 188018
|
| |
|
|
|
|
|
| |
migrate to @property with getter name starting with
'is'.
llvm-svn: 188013
|
| |
|
|
|
|
|
| |
setter/getter methods which can be migrated to
a @property.
llvm-svn: 188005
|
| |
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D1329
llvm-svn: 188000
|
| |
|
|
|
|
|
|
|
|
|
| |
We were exposing the extra alignment given to large arrays. The new behavior
matches gcc, which is a good thing since this is a gcc extension.
Thanks to Joerg Sonnenberger for noticing it.
While at it, centralize the method description in the .h file.
llvm-svn: 187999
|
| |
|
|
|
|
|
|
| |
This reverts commit r187991 and adjusts the comment. /Za is much more
involved, and we don't want to give anyone the impression we actually
support it.
llvm-svn: 187998
|
| |
|
|
|
|
|
|
| |
Also bump the minor version number and update libclang.exports.
Reviewed by: Dmitri Gribenko, Doug Gregor
llvm-svn: 187994
|
| |
|
|
|
|
| |
There hasn't been a separate cc1 option table since r155916.
llvm-svn: 187993
|