llvm-project/clang/lib/AST
Richard Smith 122f88d481 [c++17] P0135R1: Guaranteed copy elision.
When an object of class type is initialized from a prvalue of the same type
(ignoring cv qualifications), use the prvalue to initialize the object directly
instead of inserting a redundant elidable call to a copy constructor.

llvm-svn: 288866
2016-12-06 23:52:28 +00:00
..
APValue.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ASTConsumer.cpp Move LocInfoType from Sema to AST. 2016-02-01 17:42:01 +00:00
ASTContext.cpp [OpenCL] Refactor read_only/write_only pipes. 2016-12-01 11:30:49 +00:00
ASTDiagnostic.cpp PR30831: Teach template type diffing to cope with TemplateSpecializationTypes 2016-10-28 19:54:43 +00:00
ASTDumper.cpp Indicate in AST dump whether special member functions are defaulted and trivial. 2016-11-21 23:43:54 +00:00
ASTImporter.cpp [ASTImporter] Added ability to import AtomicType nodes 2016-11-23 15:24:23 +00:00
ASTTypeTraits.cpp Teach clang-query to dump types. I couldn't find any existing tests for clang-query's dumping functionality. =( 2016-11-02 23:57:18 +00:00
AttrImpl.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CMakeLists.txt Move functions declared in Stmt{ObjC,CXX}.h and OpenMPClause.h into 2015-10-02 13:41:04 +00:00
CXXABI.h Remove C++ default arg side table for MS ABI ctor closures 2016-11-23 16:51:30 +00:00
CXXInheritance.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Comment.cpp [Sema][Comments] Add support for TypeAliasTemplate 2016-08-25 17:09:33 +00:00
CommentBriefParser.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CommentCommandTraits.cpp Fix for PR21254 - Assertion in comment parser 2014-10-15 16:18:20 +00:00
CommentLexer.cpp Fix 'unknown documentation command' warning ranges 2016-10-25 10:06:11 +00:00
CommentParser.cpp [cleanup] Remove excessive padding from TextTokenRetokenizer::Position 2016-09-20 18:32:48 +00:00
CommentSema.cpp AST: improve layout of SimpleTypoCorrector 2016-08-28 21:33:30 +00:00
Decl.cpp Fix parenthesized assert (nfc). 2016-11-01 10:30:50 +00:00
DeclBase.cpp When a DecompositionDecl is marked invalid, also set the child BindingDecl's to 2016-11-11 20:51:04 +00:00
DeclCXX.cpp [Sema] Don't perform aggregate initialization for types with explicit constructors 2016-12-03 01:26:47 +00:00
DeclFriend.cpp [TrailingObjects] Convert Decl* classes. 2015-12-29 22:13:13 +00:00
DeclGroup.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
DeclObjC.cpp [ObjC] Prevent infinite loops when iterating over redeclaration 2016-11-21 11:16:30 +00:00
DeclOpenMP.cpp [OPENMP 4.0] Initial support for 'omp declare reduction' construct. 2016-03-03 05:21:39 +00:00
DeclPrinter.cpp Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
DeclTemplate.cpp Delete tautological assertion. 2016-12-02 00:51:58 +00:00
DeclarationName.cpp ObjC Module: try to make objc module deterministic. 2016-11-17 18:41:18 +00:00
Expr.cpp [c++17] P0135R1: Guaranteed copy elision. 2016-12-06 23:52:28 +00:00
ExprCXX.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
ExprClassification.cpp DR1213: element access on an array xvalue or prvalue produces an xvalue. In the 2016-12-05 07:49:14 +00:00
ExprConstant.cpp [c++17] P0135R1: Guaranteed copy elision. 2016-12-06 23:52:28 +00:00
ExprObjC.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
ExternalASTSource.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
InheritViz.cpp InheritViz: Hide implementation details 2015-03-09 15:03:20 +00:00
ItaniumCXXABI.cpp Remove C++ default arg side table for MS ABI ctor closures 2016-11-23 16:51:30 +00:00
ItaniumMangle.cpp Update manglings for C++17 noexcept function types to match Jason Merrill's 2016-11-03 00:27:54 +00:00
Mangle.cpp regcall: Implement regcall Calling Conv in clang 2016-11-02 18:29:35 +00:00
MicrosoftCXXABI.cpp Remove C++ default arg side table for MS ABI ctor closures 2016-11-23 16:51:30 +00:00
MicrosoftMangle.cpp [MS ABI] Implement more of the Itanium mangling rules 2016-12-06 17:01:02 +00:00
NSAPI.cpp Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
NestedNameSpecifier.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
OpenMPClause.cpp [OpenMP] Code generation for the is_device_ptr clause 2016-07-28 14:25:09 +00:00
ParentMap.cpp [arcmt/objcmt] Fix ParentMap crash with invalid code. 2016-07-14 20:21:16 +00:00
RawCommentList.cpp AST: Improve a couple of comments and cast unused values to void 2016-10-16 20:12:42 +00:00
RecordLayout.cpp [RecordLayout] Use an ASTVector instead of using a separate pointer and counter 2016-05-24 18:10:50 +00:00
RecordLayoutBuilder.cpp [RecordLayout] Use an ASTVector instead of using a separate pointer and counter 2016-05-24 18:10:50 +00:00
SelectorLocationsKind.cpp
Stmt.cpp [x86][inline-asm] Add support for curly brackets escape using "%" in extended inline asm. 2016-10-31 15:27:54 +00:00
StmtCXX.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
StmtIterator.cpp [ptr-traits] Stop using two bogus types as stand-ins for flags 2015-12-30 02:51:00 +00:00
StmtObjC.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
StmtOpenMP.cpp [OpenMP] Sema and parsing for 'teams distribute parallel for simd' pragma 2016-11-30 23:51:03 +00:00
StmtPrinter.cpp [OpenMP] Sema and parsing for 'teams distribute parallel for simd' pragma 2016-11-30 23:51:03 +00:00
StmtProfile.cpp [OpenMP] Sema and parsing for 'teams distribute parallel for simd' pragma 2016-11-30 23:51:03 +00:00
StmtViz.cpp
TemplateBase.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
TemplateName.cpp Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 19:38:18 +00:00
Type.cpp Fix two clang-tidy misc-move-forwarding-reference warnings 2016-12-06 14:49:18 +00:00
TypeLoc.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
TypePrinter.cpp [OpenCL] Introduce ReadPipeType and WritePipeType. 2016-11-18 14:10:54 +00:00
VTTBuilder.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
VTableBuilder.cpp [AST] Don't use make_pointee_iterator in VTableBuilder. 2016-10-10 19:26:22 +00:00