| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 92367
|
| |
|
|
|
|
| |
covariant. Fixes PR5920.
llvm-svn: 92365
|
| |
|
|
| |
llvm-svn: 92360
|
| |
|
|
|
|
| |
termination for us.
llvm-svn: 92358
|
| |
|
|
| |
llvm-svn: 92357
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
test/FixIt/typo.cpp:41:15: error: initializer 'base' does not name a non-static
data member or base class; did you mean the base class 'Base'?
Derived() : base(),
^~~~
Base
test/FixIt/typo.cpp:42:15: error: initializer 'ember' does not name a non-static
data member or base class; did you mean the member 'member'?
ember() { }
^~~~~
member
llvm-svn: 92355
|
| |
|
|
|
|
|
|
|
|
| |
typo.cpp:18:1: error: use of undeclared identifier 'other_std'; did
you mean 'otherstd'?
other_std::strng str1;
^~~~~~~~~
otherstd
llvm-svn: 92350
|
| |
|
|
|
|
|
|
|
|
| |
typo.cpp:27:8: error: no template named 'basic_sting' in namespace 'std';
did you mean 'basic_string'?
std::basic_sting<char> b2;
~~~~~^~~~~~~~~~~
basic_string
llvm-svn: 92348
|
| |
|
|
|
|
| |
s.fnd("hello")
llvm-svn: 92345
|
| |
|
|
|
|
|
|
|
| |
Add new states for symbolic regions tracked by malloc checker. This enables us
to do malloc checking more accurately. See test case.
Based on Lei Zhang's patch and discussion.
llvm-svn: 92342
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
typo.cpp:22:10: error: use of undeclared identifier 'radious'; did
you mean 'radius'?
return radious * pi;
^~~~~~~
radius
This was super-easy, since we already had decent recovery by looking
for names in dependent base classes.
llvm-svn: 92341
|
| |
|
|
|
|
|
| |
not emitting a follow-on error about 'int', which the user
never wrote. PR5924.
llvm-svn: 92339
|
| |
|
|
| |
llvm-svn: 92319
|
| |
|
|
| |
llvm-svn: 92318
|
| |
|
|
|
|
|
|
| |
attach the appropriate attributes to it. I don't think
this manifests as any real change though, we're still
not getting the right LLVM IR attributes out of codegen.
llvm-svn: 92316
|
| |
|
|
|
|
| |
C++2.13.2p2: "A wide-character literal has type wchar_t"
llvm-svn: 92313
|
| |
|
|
|
|
| |
the declaration in the presence of an initializer macro.
llvm-svn: 92312
|
| |
|
|
| |
llvm-svn: 92310
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tring str2;
we produce the following diagnostic + fix-it:
typo.cpp:15:1: error: unknown type name 'tring'; did you mean 'string'?
tring str2;
^~~~~
string
To make this really useful, we'll need to introduce typo correction in
many more places (wherever we do name lookup), and implement
declaration-vs-expression heuristics that cope with typos
better. However, for now this will handle the simple cases where we
already get good "unknown type name" diagnostics.
The LookupVisibleDecls functions are intended to be used by code
completion as well as typo correction; that refactoring will happen
later.
llvm-svn: 92308
|
| |
|
|
| |
llvm-svn: 92307
|
| |
|
|
| |
llvm-svn: 92306
|
| |
|
|
| |
llvm-svn: 92305
|
| |
|
|
|
|
|
|
|
|
|
|
| |
QualType to get CVR-qualifiers through array types, and switches the primary
comparison methods to use it. This may allow simplifying some of the callers of
getUnqualifiedArrayType.
Also fix the normalizing of CV-qualification during template deduction to
normalize through arrays and allow a more qualified deduced array type. This
fixes PR5911.
llvm-svn: 92289
|
| |
|
|
| |
llvm-svn: 92284
|
| |
|
|
|
|
| |
the AST lest we run into some crazy canonicalization bug like PR5874.
llvm-svn: 92283
|
| |
|
|
|
|
|
|
| |
caught several cases where we were not doing the right thing. I'm
not completely sure all cases are being handled correctly, but this should
be an improvement.
llvm-svn: 92281
|
| |
|
|
| |
llvm-svn: 92278
|
| |
|
|
| |
llvm-svn: 92276
|
| |
|
|
| |
llvm-svn: 92274
|
| |
|
|
| |
llvm-svn: 92266
|
| |
|
|
|
|
|
|
| |
CV-qualifiers. Remove an error expectation from the 'good' set of const-cast
test cases. With this patch, the final non-template test case from PR5542
passes. (It's the same as the one already in const-cast.cpp.)
llvm-svn: 92257
|
| |
|
|
| |
llvm-svn: 92253
|
| |
|
|
|
|
|
|
|
|
| |
more or less cv-qualified than another during implicit conversion and overload
resolution ([basic.type.qualifier] p5). Factors the logic out of template
deduction and into the ASTContext so it can be shared.
This fixes several aspects of PR5542, but not all of them.
llvm-svn: 92248
|
| |
|
|
| |
llvm-svn: 92246
|
| |
|
|
|
|
|
|
|
|
| |
address resolution. This fixes PR5751.
Also, while we're here, remove logic from ADL which mistakenly included the
definition namespaces of overloaded and/or templated functions whose name or
address is used as an argument.
llvm-svn: 92245
|
| |
|
|
| |
llvm-svn: 92236
|
| |
|
|
|
|
| |
are about to not come in implicitly.
llvm-svn: 92228
|
| |
|
|
| |
llvm-svn: 92204
|
| |
|
|
|
|
| |
this speeds up Eonly on the testcase in PR5888 from 30.5s to 0.85s
llvm-svn: 92203
|
| |
|
|
|
|
|
| |
not a token number. Fix the reserve logic to get the right
amount of space.
llvm-svn: 92202
|
| |
|
|
|
|
| |
in a class local to a function.
llvm-svn: 92200
|
| |
|
|
| |
llvm-svn: 92177
|
| |
|
|
|
|
|
| |
This is needed for the platforms, where bitwidth of "int" is not 32 bits
(e.g. 16 on msp430).
llvm-svn: 92176
|
| |
|
|
|
|
| |
a bug with a testcase hitting this assertion in a moment.
llvm-svn: 92175
|
| |
|
|
|
|
| |
it doesn't know how to fold, like derived-to-base casts.
llvm-svn: 92173
|
| |
|
|
| |
llvm-svn: 92172
|
| |
|
|
|
|
| |
functions in __PRETTY_FUNCTION__ predefined expressions.
llvm-svn: 92171
|
| |
|
|
|
|
|
| |
call; the standard doesn't expect us to, and the program could be doing
something crazy. Fixes PR5882.
llvm-svn: 92166
|
| |
|
|
|
|
| |
help for the moment.
llvm-svn: 92165
|
| |
|
|
| |
llvm-svn: 92162
|