summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXCursor.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-12-06 23:52:28 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-12-06 23:52:28 +0000
commit122f88d481971b68d05ba12395c3b73ab4b31ab3 (patch)
treec59ee8196c104634ee39555cc8b9d97ee5d75b5c /clang/tools/libclang/CXCursor.cpp
parent2187bb8a89cdbe529ee222bf56d1b7415337cb20 (diff)
downloadbcm5719-llvm-122f88d481971b68d05ba12395c3b73ab4b31ab3.tar.gz
bcm5719-llvm-122f88d481971b68d05ba12395c3b73ab4b31ab3.zip
[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
Diffstat (limited to 'clang/tools/libclang/CXCursor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud