summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/AST/UnresolvedSet.h
Commit message (Collapse)AuthorAgeFilesLines
* Add missed #include in llvmorg-10-init-11532-g848934c67d4.Richard Smith2019-12-101-0/+1
|
* [c++20] Fix handling of unqualified lookups from a defaulted comparisonRichard Smith2019-12-091-0/+4
| | | | | | | | | | function. We need to perform unqualified lookups from the context of a defaulted comparison, but not until we implicitly define the function, at which point we can't do those lookups any more. So perform the lookup from the end of the class containing the =default declaration and store the lookup results on the defaulted function until we synthesize the body.
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Remove trailing spaceFangrui Song2018-07-301-1/+1
| | | | | | sed -Ei 's/[[:space:]]+$//' include/**/*.{def,h,td} lib/**/*.{cpp,h} llvm-svn: 338291
* Remove \brief commands from doxygen comments.Adrian Prantl2018-05-091-2/+2
| | | | | | | | | | | | | | | | | | | This is similar to the LLVM change https://reviews.llvm.org/D46290. We've been running doxygen with the autobrief option for a couple of years now. This makes the \brief markers into our comments redundant. Since they are a visual distraction and we don't want to encourage more \brief markers in new code either, this patch removes them all. Patch produced by for i in $(git grep -l '\@brief'); do perl -pi -e 's/\@brief //g' $i & done for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done Differential Revision: https://reviews.llvm.org/D46320 llvm-svn: 331834
* [AST] Fix some Clang-tidy modernize and Include What You Use warnings; other ↵Eugene Zelenko2017-11-211-7/+13
| | | | | | minor fixes (NFC). llvm-svn: 318813
* Try to work around an MSVC 2013 bug around defaulted default ctorsReid Kleckner2016-08-161-1/+3
| | | | | | | An UnresolvedSetIterator() is supposed to be zeroed out, but MSVC 2013 does not do that. llvm-svn: 278842
* P0217R3: Perform semantic checks and initialization for the bindings in aRichard Smith2016-08-111-1/+1
| | | | | | | decomposition declaration for arrays, aggregate-like structs, tuple-like types, and (as an extension) for complex and vector types. llvm-svn: 278435
* [NFC] Header cleanupMehdi Amini2016-07-181-1/+0
| | | | | | | | | | Summary: Removed unused headers, replaced some headers with forward class declarations Patch by: Eugene <claprix@yandex.ru> Differential Revision: https://reviews.llvm.org/D20100 llvm-svn: 275882
* Re-add (user defined) move ops to UnresolvedSetImpl to allow UnresolvedSet ↵David Blaikie2016-03-171-0/+4
| | | | | | to be implicitly movable llvm-svn: 263747
* Remove defaulted move ops, the type is zero-cost copyable anyway, so there's ↵David Blaikie2016-03-171-2/+0
| | | | | | | | | no need for specific move ops (addresses MSVC build error, since MSVC 2013 can't generate default move ops) llvm-svn: 263732
* Fix implicit copy ctor and copy assignment operator warnings when ↵David Blaikie2016-03-171-2/+5
| | | | | | | | | | | | | -Wdeprecated passed. Fix implicit copy ctor and copy assignment operator warnings when -Wdeprecated passed. Patch by Don Hinton! Differential Revision: http://reviews.llvm.org/D18123 llvm-svn: 263730
* Roll-back r250822.Angel Garcia Gomez2015-10-201-1/+1
| | | | | | | | | | Summary: It breaks the build for the ASTMatchers Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D13893 llvm-svn: 250827
* Apply modernize-use-default to clang.Angel Garcia Gomez2015-10-201-1/+1
| | | | | | | | | | | | Summary: Replace empty bodies of default constructors and destructors with '= default'. Reviewers: bkramer, klimek Subscribers: klimek, alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D13890 llvm-svn: 250822
* Reimplement iterator wrappers on top of llvm::iterator_adaptor_base.Benjamin Kramer2015-02-011-66/+22
| | | | | | Eliminates a ton of boilerplate proxying the iterator methods. NFC. llvm-svn: 227764
* Remove unnecessary semicolon.Kaelyn Takata2014-11-111-1/+1
| | | | llvm-svn: 221732
* Make LookupResult be copyable to avoid decomposing an existing one andKaelyn Takata2014-11-111-1/+1
| | | | | | initializing a new one every time a copy is needed. llvm-svn: 221724
* Import MutableArrayRef into clang namespace.Craig Topper2014-06-281-1/+1
| | | | llvm-svn: 211988
* Don't eagerly load all conversion operators when loading a class declarationRichard Smith2013-08-301-0/+1
| | | | | | from a PCH/module. llvm-svn: 189646
* Use pop_back_val() instead of both back() and pop_back().Robert Wilhelm2013-08-231-8/+2
| | | | | | No functionality change intended. llvm-svn: 189112
* Documentation cleanup: Mostly formatting \brief documentation, also fix aJames Dennett2013-06-301-2/+2
| | | | | | typo or two. llvm-svn: 185288
* Pull the Attr iteration parts out of Attr.h, so including DeclBase.h doesn't ↵Benjamin Kramer2012-12-011-2/+4
| | | | | | | | | pull in all the generated Attr code. Required to pull some functions out of line, but this shouldn't have a perf impact. No functionality change. llvm-svn: 169092
* Introduce ASTUnresolvedSet, an UnresolvedSet-like class, whose contents areArgyrios Kyrtzidis2012-11-281-2/+3
| | | | | | | | | | | allocated using the allocator associated with an ASTContext. Use this inside CXXRecordDecl::DefinitionData instead of an UnresolvedSet to avoid a potential memory leak. rdar://12761275 llvm-svn: 168771
* Mark unimplemented copy constructors and copy assignment operators with ↵Craig Topper2012-09-181-1/+1
| | | | | | LLVM_DELETED_FUNCTION. llvm-svn: 164102
* now that we have a centralized place to do so, add some using declarations forChris Lattner2011-07-201-2/+2
| | | | | | | some common llvm types: stringref and smallvector. This cleans up the codebase quite a bit. llvm-svn: 135576
* Move OverloadExpr over to a ASTContext-allocated pointer for itsDouglas Gregor2010-05-231-3/+5
| | | | | | storage, rather than an UnresolvedSet. llvm-svn: 104469
* When creating a call to a base subobject's operator= in anDouglas Gregor2010-05-041-0/+1
| | | | | | | | | implicitly-defined copy assignment operator, suppress the protected access check. This eliminates the remaining failure in the Boost.SmartPtr library (that was a product of the copy-assignment generation rewrite) and, presumably, the Boost.TR1 library as well. llvm-svn: 103010
* Implement the protected access restriction ([class.protected]), which requiresJohn McCall2010-04-061-50/+1
| | | | | | | | that protected members be used on objects of types which derive from the naming class of the lookup. My first N attempts at this were poorly-founded, largely because the standard is very badly worded here. llvm-svn: 100562
* Remember the "found declaration" for an overload candidate, which is theJohn McCall2010-03-191-0/+1
| | | | | | | | | | | | | | | | entity (if applicable) which was actually looked up. If a candidate was found via a using declaration, this is the UsingShadowDecl; otherwise, if the candidate is template specialization, this is the template; otherwise, this is the function. The point of this exercise is that "found declarations" are the entities we do access control for, not their underlying declarations. Broadly speaking, this patch fixes access control for using declarations. There is a *lot* of redundant code calling into the overload-resolution APIs; we really ought to clean that up. llvm-svn: 98945
* Access checking for implicit user-defined conversions.John McCall2010-02-011-49/+60
| | | | llvm-svn: 94971
* Access control for surrogate function calls. Required a moderately gross hackJohn McCall2010-01-281-0/+4
| | | | | | to get the access bits set properly in conversion sets. llvm-svn: 94744
* Implement access control for overloaded functions. Suppress access controlJohn McCall2010-01-271-0/+5
| | | | | | | diagnostics in "early" lookups, such as during typename checks and when building unresolved lookup expressions. llvm-svn: 94647
* Due to local reversions and re-patching, I accidentally had multiple copiesJohn McCall2010-01-211-151/+0
| | | | | | of the 'payload' in this header. llvm-svn: 94109
* Change LLVM/clang #includes to use quotes, not angle-brackets. Just a think-oJohn McCall2010-01-201-3/+3
| | | | | | prompted by the #include <iterator> above. llvm-svn: 94040
* Make UnresolvedSet.h standalone.John McCall2010-01-201-0/+2
| | | | llvm-svn: 93964
* Give UnresolvedSet the ability to store access specifiers for each declaration.John McCall2010-01-201-0/+360
Change LookupResult to use UnresolvedSet. Also extract UnresolvedSet into its own header and make it templated over an inline capacity. llvm-svn: 93959
OpenPOWER on IntegriCloud