| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 149964
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
separately.
llvm-svn: 149947
|
| |
|
|
| |
llvm-svn: 149945
|
| |
|
|
|
|
| |
CodeGenModule.
llvm-svn: 149943
|
| |
|
|
| |
llvm-svn: 149942
|
| |
|
|
| |
llvm-svn: 149939
|
| |
|
|
|
|
|
|
| |
that is not allowed to capture variables.
Fixes PR11883.
llvm-svn: 149937
|
| |
|
|
|
|
| |
std::vector.
llvm-svn: 149936
|
| |
|
|
|
|
| |
445.gobmk by ~1.7%.
llvm-svn: 149935
|
| |
|
|
| |
llvm-svn: 149933
|
| |
|
|
| |
llvm-svn: 149931
|
| |
|
|
| |
llvm-svn: 149930
|
| |
|
|
|
|
| |
info for properties that are synthesized by the compiler by default.
llvm-svn: 149929
|
| |
|
|
| |
llvm-svn: 149928
|
| |
|
|
|
|
|
|
| |
avoid
allocating an std::string.
llvm-svn: 149924
|
| |
|
|
|
|
|
|
|
|
| |
DependentTemplateSpecializationTypeLoc nodes (DTSTLoc).
The new info is propagated to TSTLoc on template instantiation, getting rid of 3 FIXMEs in TreeTransform.h and another one Parser.cpp.
Simplified code in TypeSpecLocFiller visitor methods for DTSTLoc and DependentNameTypeLoc by removing what now seems to be dead code (adding corresponding assertions).
llvm-svn: 149923
|
| |
|
|
| |
llvm-svn: 149916
|
| |
|
|
| |
llvm-svn: 149915
|
| |
|
|
|
|
| |
assignment operator.
llvm-svn: 149909
|
| |
|
|
|
|
| |
C++11 mode. PR11928.
llvm-svn: 149908
|
| |
|
|
|
|
| |
<rdar://problem/10814120>
llvm-svn: 149907
|
| |
|
|
|
|
| |
Patch by Nikola Smiljanic
llvm-svn: 149896
|
| |
|
|
|
|
|
| |
Add a quiet option for dwarfdump and move it out of NDEBUG only.
Still requires an option as we don't want this on by default.
llvm-svn: 149894
|
| |
|
|
|
|
| |
to leave this as a debug only option for now.
llvm-svn: 149890
|
| |
|
|
|
|
| |
DependentTSTLoc. Uniformed names referencing elaborated keyword. No intended functionality changes.
llvm-svn: 149889
|