| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that are suppressed during template argument deduction. This change
queues diagnostics computed during template argument deduction. Then,
if the resulting function template specialization or partial
specialization is chosen by overload resolution or partial ordering
(respectively), we will emit the queued diagnostics at that point.
This addresses most of PR6784. However, the check for unnamed/local
template arguments (which existed before this change) is still only
skin-deep, and needs to be extended to look deeper into types. It must
be improved to finish PR6784.
llvm-svn: 116373
|
| |
|
|
|
|
| |
This is tested by anon-union.exp.
llvm-svn: 116372
|
| |
|
|
|
|
| |
This is tested by anon-union.exp in gdb testsuite.
llvm-svn: 116371
|
| |
|
|
|
|
|
|
| |
of templated-scope friends by marking them invalid and white-listing all
accesses until such time as we implement them. Fixes a crash, this time
without a broken test case.
llvm-svn: 116364
|
| |
|
|
| |
llvm-svn: 116336
|
| |
|
|
|
|
|
| |
deduction and the final substitution, but not while substituting the
explicit template arguments. Fixes rdar://problem/8537391
llvm-svn: 116332
|
| |
|
|
|
|
|
|
|
|
| |
argument deduction, make sure to check the correctness of deduced template
type arguments (which we had previously skipped) along with other
kinds of template arguments. This fixes part of PR6784, but we're
still swallowing the extension warning about unnamed/local template
arguments.
llvm-svn: 116327
|
| |
|
|
|
|
|
|
|
| |
has not yet been parsed, note that the default argument hasn't been
parsed and keep track of all of the instantiations of that function
parameter. When its default argument does get parsed, imbue the
instantiations with that default argument. Fixes PR8245.
llvm-svn: 116324
|
| |
|
|
| |
llvm-svn: 116317
|
| |
|
|
|
|
| |
Manuel Klimek! Fixes PR7715.
llvm-svn: 116311
|
| |
|
|
| |
llvm-svn: 116300
|
| |
|
|
|
|
| |
require them to have complete types.
llvm-svn: 116297
|
| |
|
|
| |
llvm-svn: 116289
|
| |
|
|
| |
llvm-svn: 116287
|
| |
|
|
|
|
|
|
|
| |
diagnostics produced by the driver itself. Previously, we were
allowing these to either be dropped or to slip through to stderr.
Fixes <rdar://problem/7595339>.
llvm-svn: 116285
|
| |
|
|
| |
llvm-svn: 116283
|
| |
|
|
|
|
|
| |
i.e. expressions with an internally-convenient type which should not be
appearing in generally valid, complete ASTs.
llvm-svn: 116281
|
| |
|
|
|
|
| |
for ivars to be 0. Fixes pr8353.
llvm-svn: 116273
|
| |
|
|
|
|
| |
off the extra parts of the $URL$ SVN keyword.
llvm-svn: 116269
|
| |
|
|
| |
llvm-svn: 116268
|
| |
|
|
|
|
| |
are almost never needed, so the warning isn't very useful.
llvm-svn: 116263
|
| |
|
|
|
|
|
|
|
|
|
| |
on the presence of a 'clang' executable. Simplify
CIndexer::getClangResourcesPath() a bit.
Patch up the CMake makefiles to install headers into two locations in
the build tree, for those silly cases where 'clang' will end up
looking into the wrong build directory for headers.
llvm-svn: 116260
|
| |
|
|
|
|
| |
in rewriter. No functionality change.
llvm-svn: 116254
|
| |
|
|
|
|
| |
libclang does not support out-of-process code completion.
llvm-svn: 116253
|
| |
|
|
|
|
|
|
| |
emitting diagnostics in a binary form to be consumed by libclang,
since libclang no longer does any of its work out-of-process, making
this code dead. Besides, this stuff never worked at 100% anyway.
llvm-svn: 116250
|
| |
|
|
|
|
| |
This is tested by namespace.exp in gdb testsuite.
llvm-svn: 116248
|
| |
|
|
|
|
|
|
|
|
| |
clang_codeCompleteAt(). This uncovered a few issues with the latter:
- ASTUnit wasn't saving/restoring diagnostic state appropriately between
reparses and code completions.
- "Overload" completions weren't being passed through to the client
llvm-svn: 116241
|
| |
|
|
|
|
|
|
|
|
|
| |
properties.
1. Generates the AST for lexical info. of accessing
getter/setter methods using dot-syntax notation.
This fixes //rdar: //8528170.
2. Modifes rewriter to handle the AST putout in 1.
3. Supportes in rewriter ObjCImplicitSetterGetter ASTs.
llvm-svn: 116237
|
| |
|
|
|
|
| |
- The mind boggles.
llvm-svn: 116226
|
| |
|
|
|
|
| |
skipped and not inserted into the AST for now.
llvm-svn: 116203
|
| |
|
|
|
|
| |
clarify that they are not modified, and to allow for string literals as arguments.
llvm-svn: 116200
|
| |
|
|
|
|
| |
argumants and to reflect actual (non-modifying) use.
llvm-svn: 116199
|
| |
|
|
|
|
|
| |
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.
llvm-svn: 116191
|
| |
|
|
| |
llvm-svn: 116189
|
| |
|
|
|
|
| |
key function doesn't have a body.
llvm-svn: 116186
|
| |
|
|
|
|
|
|
| |
conflicts
with similarly named classes in anonymous namespaces.
llvm-svn: 116185
|
| |
|
|
|
|
|
|
| |
declaration.
It enables clang to compile Mingw's headers.
llvm-svn: 116184
|
| |
|
|
| |
llvm-svn: 116183
|
| |
|
|
|
|
|
|
|
|
| |
- lib/gcc/include should not be included. Clang oughta have alternatives. (PR7956)
- Cygwin: /usr/include/w32api should be included. gcc/cygwin does.
- gcc/cygwin uses gcc paths as /usr/lib not /lib. They are same on Cygwin environment, though, We have to take what gcc/cygwin does.
- Cygwin-1.7: Use 4.3.4.
- Cygwin-1.5: Use 4.3.2 for gcc-4.
llvm-svn: 116182
|
| |
|
|
| |
llvm-svn: 116166
|
| |
|
|
|
|
| |
by Pierre Habouzit!
llvm-svn: 116165
|
| |
|
|
| |
llvm-svn: 116164
|
| |
|
|
|
|
| |
Lei Zhang.
llvm-svn: 116163
|
| |
|
|
| |
llvm-svn: 116162
|
| |
|
|
| |
llvm-svn: 116161
|
| |
|
|
|
|
|
|
| |
messages.
Store pointer and length of the message in DelayedDiagnostic and hide the gory union details.
llvm-svn: 116153
|
| |
|
|
|
|
|
|
|
|
|
| |
__builtin_ia32_vec_init_v8qi
__builtin_ia32_vec_init_v4hi
__builtin_ia32_vec_init_v2si
They are lowered to bitcasts. (These are all ready tested by the gcc testsuite.)
<rdar://problem/8529957>
llvm-svn: 116147
|
| |
|
|
| |
llvm-svn: 116144
|
| |
|
|
|
|
| |
constant initializers.
llvm-svn: 116138
|
| |
|
|
| |
llvm-svn: 116129
|