| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
post visit of CallExpr.
In general, we should avoid using evalCall as it leads to interference
with other checkers.
llvm-svn: 150086
|
| |
|
|
|
|
| |
All protocol related metadata is close to completion.
llvm-svn: 150084
|
| |
|
|
| |
llvm-svn: 150072
|
| |
|
|
|
|
|
|
| |
other users.
While at it make it value-initializable to get rid of static ctors.
llvm-svn: 150070
|
| |
|
|
|
|
|
| |
not a constant expression, because we can't tell whether the complete class type
will have an overloaded operator&.
llvm-svn: 150066
|
| |
|
|
|
|
| |
builtin_shufflevector.
llvm-svn: 150064
|
| |
|
|
|
|
|
|
|
|
| |
the sign bit doesn't have undefined behavior, but a signed left shift of a 1 bit
out of the sign bit still does. As promised to Howard :)
The suppression of the potential constant expression checking in system headers
is also removed, since the problem it was working around is gone.
llvm-svn: 150059
|
| |
|
|
| |
llvm-svn: 150058
|
| |
|
|
|
|
| |
builtin_shufflevector.
llvm-svn: 150056
|
| |
|
|
|
|
| |
management), and introduce 'PathPieces' as a common container for PathDiagnosticPieces.
llvm-svn: 150054
|
| |
|
|
|
|
| |
functionality change.
llvm-svn: 150053
|
| |
|
|
|
|
| |
unevaluated context.
llvm-svn: 150049
|
| |
|
|
|
|
|
|
| |
and then use it for forward decl names.
Part of rdar://10209967 and rdar://10400981
llvm-svn: 150040
|
| |
|
|
|
|
| |
registers.
llvm-svn: 150035
|
| |
|
|
|
|
|
|
|
|
| |
DeclRefExpr
that is referencing the member function, so we can index the referenced function.
Fixes rdar://10762375&10324915 & http://llvm.org/PR11192
llvm-svn: 150033
|
| |
|
|
| |
llvm-svn: 150030
|
| |
|
|
|
|
| |
or __strong __typeof__(some.strong.thing).
llvm-svn: 150029
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
a typedef of std::pair. This slightly improves type-safety, but mostly
makes code using it clearer to read as well as making it possible to add
methods to the type.
Add such a method for efficiently single-step desugaring a split type.
Add a method to single-step desugaring a locally-unqualified type.
Implement both the SplitQualType and QualType methods in terms of that.
Also, fix a typo ("ObjCGLifetime").
llvm-svn: 150028
|
| |
|
|
|
|
|
|
| |
caching of results after we create them.
Fixes rdar://10809898
llvm-svn: 150025
|
| |
|
|
| |
llvm-svn: 150021
|
| |
|
|
|
|
|
|
| |
been completed yet, then complete it if possible.
This fixes some assertion failures encountered by
LLDB.
llvm-svn: 150020
|
| |
|
|
|
|
| |
for modern objc abi.
llvm-svn: 150011
|
| |
|
|
| |
llvm-svn: 150010
|
| |
|
|
| |
llvm-svn: 150009
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
operator overloads out of line.
This seems to negatively affect compile time onsome ObjC tests
(which use a lot of partial diagnostics I assume). I have to come
up with a way to keep them inline without including Diagnostic.h
everywhere. Now adding a new diagnostic requires a full rebuild
of e.g. the static analyzer which doesn't even use those diagnostics.
This reverts commit 6496bd10dc3a6d5e3266348f08b6e35f8184bc99.
This reverts commit 7af19b817ba964ac560b50c1ed6183235f699789.
This reverts commit fdd15602a42bbe26185978ef1e17019f6d969aa7.
This reverts commit 00bd44d5677783527d7517c1ffe45e4d75a0f56f.
This reverts commit ef9b60ffed980864a8db26ad30344be429e58ff5.
llvm-svn: 150006
|
| |
|
|
| |
llvm-svn: 150002
|
| |
|
|
|
|
|
|
| |
MAP_ERROR to be remapped to MAP_WARNING. These new APIs are being added to
allow the diagnostic mapping's "no Werror" bit to be set, and potentially
downgrade anything already mapped to be a warning.
llvm-svn: 150001
|
| |
|
|
| |
llvm-svn: 150000
|
| |
|
|
| |
llvm-svn: 149998
|
| |
|
|
| |
llvm-svn: 149996
|
| |
|
|
| |
llvm-svn: 149995
|
| |
|
|
|
|
| |
in objective-c rewriter. wip.
llvm-svn: 149989
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Parsing of @implementations was based on modifying global state from
the parser; the logic for late parsing of methods was spread in multiple places
making it difficult to have a robust error recovery.
-it was difficult to ensure that we don't neglect parsing the lexed methods.
-it was difficult to setup the original objc container context for parsing the lexed methods
after completing ParseObjCAtImplementationDeclaration and returning to top level context.
Enhance parsing of @implementations by centralizing it in Parser::ParseObjCAtImplementationDeclaration().
ParseObjCAtImplementationDeclaration now returns only after an @implementation is fully parsed;
all the data and logic for late parsing of methods is now in one place.
This allows us to provide code-completion for late parsed methods with mis-matched braces.
rdar://10775381
llvm-svn: 149987
|
| |
|
|
|
|
| |
Patch by Eitan Adler
llvm-svn: 149984
|
| |
|
|
| |
llvm-svn: 149982
|
| |
|
|
|
|
| |
consistency with NamedDecls.
llvm-svn: 149981
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Capturing variables by-reference and by-copy within a lambda
- The representation of lambda captures
- The creation of the non-static data members in the lambda class
that store the captured variables
- The initialization of the non-static data members from the
captured variables
- Pretty-printing lambda expressions
There are a number of FIXMEs, both explicit and implied, including:
- Creating a field for a capture of 'this'
- Improved diagnostics for initialization failures when capturing
variables by copy
- Dealing with temporaries created during said initialization
- Template instantiation
- AST (de-)serialization
- Binding and returning the lambda expression; turning it into a
proper temporary
- Lots and lots of semantic constraints
- Parameter pack captures
llvm-svn: 149977
|
| |
|
|
| |
llvm-svn: 149976
|
| |
|
|
| |
llvm-svn: 149975
|
| |
|
|
| |
llvm-svn: 149974
|
| |
|
|
| |
llvm-svn: 149973
|
| |
|
|
| |
llvm-svn: 149966
|
| |
|
|
|
|
| |
<rdar://problem/10760113>.
llvm-svn: 149965
|
| |
|
|
|
|
| |
same logic as FunctionDecl::isInlineDefinitionExternallyVisible to figure out whether to emit a definition. Based on work by Anton Yartsev.
llvm-svn: 149963
|
| |
|
|
|
|
|
|
| |
in PathDiagnostics from other events. This will
have potential uses later.
llvm-svn: 149960
|
| |
|
|
| |
llvm-svn: 149959
|
| |
|
|
| |
llvm-svn: 149958
|
| |
|
|
|
|
|
|
|
|
|
|
| |
MaxEditDistance was effectively unused as it being initialized to the max
unsigned valued but never updated. Removing it avoids conversion
headaches once the "edit distance" of a typo correction is a weighted
composite of several values instead of roughly the number of characters
changed; comparing the weighted composite value to the number of
characters in a typo would require some form of normalization to make it
comparable to the old, character-based notion of edit distance.
llvm-svn: 149953
|
| |
|
|
|
|
|
| |
These are new options that gcc doesn't recognize so the clang driver needs
to remove them when it falls back to invoking gcc.
llvm-svn: 149951
|
| |
|
|
| |
llvm-svn: 149949
|