| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
template" instead of "static data member" when appropriate
llvm-svn: 188409
|
| |
|
|
|
|
| |
Thank Richard Smith for figuring out this problem.
llvm-svn: 188408
|
| |
|
|
|
|
| |
Tested on multiple OSes.
llvm-svn: 188406
|
| |
|
|
| |
llvm-svn: 188405
|
| |
|
|
|
|
|
|
| |
Also add some documentation.
Differential Revision: http://llvm-reviews.chandlerc.com/D1346
llvm-svn: 188403
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
paths.
Otherwise it lists all files (e.g. shared libraries) that happen to be in the
same paths the GCC installations usually reside in.
On a x86_64 Debian 7 system with i386 multilibs.
before: clang -v 2>&1|wc -l
3059
after: clang -v 2>&1|wc -l
10
llvm-svn: 188400
|
| |
|
|
|
|
| |
- Now fixed to ensure substitution value isn't of unicode type on Python 2.6-7.
llvm-svn: 188384
|
| |
|
|
|
|
| |
It caused "shell parser error" on win32 internal shell. ShParser doesn't expect unicode, but str.
llvm-svn: 188373
|
| |
|
|
| |
llvm-svn: 188354
|
| |
|
|
| |
llvm-svn: 188353
|
| |
|
|
|
|
|
|
|
|
| |
The rationale for this change is to differentiate following two situations:
1) clang -c -emit-llvm a.c
2) clang -c -flto a.c
Reviewed by Eric Christopher. Thanks a lot!
llvm-svn: 188352
|
| |
|
|
|
|
| |
variable
llvm-svn: 188350
|
| |
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D1394
llvm-svn: 188346
|
| |
|
|
|
|
| |
// rdar://14303083
llvm-svn: 188335
|
| |
|
|
|
|
| |
the address of an overloaded function template.
llvm-svn: 188334
|
| |
|
|
|
|
|
| |
expresison is a concatenated nsstring element.
// rdar://14303083
llvm-svn: 188332
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This adds support for the /link option, which forwards
subsequent arguments to the linker.
The test for this will only work when targetting win32.
Since that's the only target where clang-cl makes sense,
use that target by default.
Differential Revision: http://llvm-reviews.chandlerc.com/D1388
llvm-svn: 188331
|
| |
|
|
|
|
|
| |
It doesn't make any sense to accept "..." in the argument to a C-style cast,
so use a separate expression list parsing routine which rejects it. PR16874.
llvm-svn: 188330
|
| |
|
|
| |
llvm-svn: 188325
|
| |
|
|
|
|
| |
PR16872.
llvm-svn: 188324
|
| |
|
|
|
|
|
|
|
|
| |
Anything that comes after -- is treated as an input file. This
used to be handled automagically by the option parsing library,
but after LLVM r188314, we should handle it ourselves.
No functionality change.
llvm-svn: 188316
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When a local extern declaration redeclares some other entity, the type of that
entity is merged with the prior type if the prior declaration is visible (in C)
or is declared in the same scope (in C++).
- Make LookupRedeclarationWithLinkage actually work in C++, use it in the right
set of cases, and make it track whether it found a shadowed declaration.
- Track whether we found a declaration in the same scope (for C++) including
across serialization and template instantiation.
llvm-svn: 188307
|
| |
|
|
|
|
| |
Improved test to catch missing case.
llvm-svn: 188304
|
| |
|
|
|
|
| |
of harmless changes.
llvm-svn: 188303
|
| |
|
|
|
|
|
|
|
|
|
| |
One day soon, tooling::Replacements will be changed from being implemented as
an std::set to being implemented as an std::vector. Until then, some new code
using vectors of Replacements would enjoy having a version of
applyAllReplacements that takes a vector.
Differential Revision: http://llvm-reviews.chandlerc.com/D1380
llvm-svn: 188295
|
| |
|
|
|
|
|
|
| |
If a Replacment is contained within the conflict range being built, the
conflict range would be erroneously shortened. Now fixed. Tests updated to
catch this case.
llvm-svn: 188287
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We used to decide whether to really vectorize depending on the optimization
level in PassManagerBuilder.
This patch moves this decision to the clang driver. We look at the optimization
level and whether the f(no-)vectorize is set and decide whether to vectorize.
This allows us to simplify the logic in PassManagerBuilder to just a check for
whether the vectorizer should run or not.
We now do the right thing for:
$ clang -O1 -fvectorize
$ clang -fno-vectorize -O3
llvm-svn: 188280
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
list of matchers for the polymorphic case.
Summary:
Refactor "MatcherList" into "VariantMatcher" and abstract the notion of a list of matchers for the polymorphic case.
This work is to support future changes needed for eachOf/allOf/anyOf matchers. We will add a new type on VariantMatcher.
Reviewers: klimek
CC: cfe-commits, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D1365
llvm-svn: 188272
|
| |
|
|
| |
llvm-svn: 188271
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Some coding styles use a different indent for constructor initializers.
Patch by Klemens Baum. Thank you.
Review: http://llvm-reviews.chandlerc.com/D1360
Post review changes: Changed data type to unsigned as a negative indent
width does not make sense and added test for configuration parsing.
llvm-svn: 188260
|
| |
|
|
| |
llvm-svn: 188258
|
| |
|
|
|
|
| |
Thanks Kim Gräsman!
llvm-svn: 188257
|
| |
|
|
|
|
|
|
|
|
| |
Before:
#define IF(a, b, c) if (a&&(b == c))
After:
#define IF(a, b, c) if (a && (b == c))
llvm-svn: 188256
|
| |
|
|
|
|
| |
They were accidentally placed in the #if.
llvm-svn: 188255
|
| |
|
|
|
|
|
|
|
|
|
| |
Before:
aaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaa)
->aaaaaaaaa());
After:
aaaaaaaaaaaaaaaaaaaaaaaa(
aaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaa)->aaaaaaaaa());
llvm-svn: 188253
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
It seems that __uuidof introduces a global extern "C" declaration of
type __s_GUID. However, our implementation of __uuidof does not provide
such a declaration and thus must open-code the mangling for __uuidof in
template parameters.
This allows us to codegen scoped COM pointers and other such things.
This fixes PR16836.
Depends on D1356.
Reviewers: rnk, cdavis5x, rsmith
Reviewed By: rnk
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1357
llvm-svn: 188252
|
| |
|
|
| |
llvm-svn: 188251
|
| |
|
|
|
|
| |
cases...
llvm-svn: 188249
|
| |
|
|
|
|
| |
in comments. [-Wdocumentation]
llvm-svn: 188248
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Properly mangle declarations showing up in template arguments that are
reference parameters. Fun-fact: undname cannot handle these!
Reviewers: rnk, cdavis5x
Reviewed By: rnk
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1356
llvm-svn: 188245
|
| |
|
|
| |
llvm-svn: 188237
|
| |
|
|
|
|
|
|
|
| |
This moves a header-only class from Sema to Analysis and puts the option
check in Sema.
Patch by Chris Wailes!
llvm-svn: 188230
|
| |
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D1370
llvm-svn: 188226
|
| |
|
|
|
|
| |
, currently unused, for future cf-annotation work.
llvm-svn: 188224
|
| |
|
|
|
|
| |
info checking already in CreateType(RecordType)
llvm-svn: 188222
|
| |
|
|
| |
llvm-svn: 188214
|
| |
|
|
| |
llvm-svn: 188213
|
| |
|
|
|
|
| |
incomplete types, courtesy of Luke Zarko.
llvm-svn: 188212
|
| |
|
|
|
|
|
| |
The cmake-clang-x86_64 was upset:
error: 'template<class ImplClass, class RetTy> class clang::ConstStmtVisitor' used without template parameters
llvm-svn: 188211
|
| |
|
|
|
|
|
|
| |
This is used to name the linked output file.
Differential Revision: http://llvm-reviews.chandlerc.com/D1344
llvm-svn: 188210
|