]> granicus.if.org Git - clang/commit
[analyzer] NFC: Document that we support implicit argument constructors.
authorArtem Dergachev <artem.dergachev@gmail.com>
Tue, 7 Aug 2018 02:22:59 +0000 (02:22 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Tue, 7 Aug 2018 02:22:59 +0000 (02:22 +0000)
commit73df728949a3c9607aa81dee46af4470c35ce1b8
treecdac1833ca634e15f6af1b509bd61e840bca766d
parent2b8b8ddd6ec475012775bf3901cc378376331807
[analyzer] NFC: Document that we support implicit argument constructors.

The change in the AST in r338135 caused us to accidentally support
inlining constructors of operator implicit arguments. Previously they were
hard to support because they were treated as arguments in expressions
but not in declarations, but now they can be transparently treated as
simple temporaries.

Add tests and comments to explain how it now works.

Differential Revision: https://reviews.llvm.org/D49627

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339087 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/ConstructionContext.h
test/Analysis/cfg-rich-constructors.cpp
test/Analysis/temporaries.cpp