summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-03-22 21:54:48 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-03-22 21:54:48 +0000
commitb9d3d30e226c9b3c436fefcc2b2f8e94f67f7bfc (patch)
tree52643fe22f522c534365ddd6e0df1e49422e83e4 /clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
parent17ff975eb1b589e4793cb0544c8e91e5c2407150 (diff)
downloadbcm5719-llvm-b9d3d30e226c9b3c436fefcc2b2f8e94f67f7bfc.tar.gz
bcm5719-llvm-b9d3d30e226c9b3c436fefcc2b2f8e94f67f7bfc.zip
[analyzer] Remove an assertion that doesn't hold in C++17.
Function return values can be constructed directly in variables or passed directly into return statements, without even an elidable copy in between. This is how the C++17 mandatory copy elision AST behaves. The behavior we'll have in such cases is the "old" behavior that we've had before we've implemented destructor inlining and proper lifetime extension support. Differential Revision: https://reviews.llvm.org/D44755 llvm-svn: 328253
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud