aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2022-05-20 17:36:47 -0700
committerLang Hames <lhames@gmail.com>2022-05-21 09:02:01 -0700
commitf3428dafdc553d4354062863983a3bbe712e1266 (patch)
treec82373545eaeb2ebdaad7df7c3b1de0048225820 /clang/unittests/Format/FormatTestJava.cpp
parent3bebec6592a4dd8a1fb330382fc8dd4162c6bf44 (diff)
downloadllvm-f3428dafdc553d4354062863983a3bbe712e1266.zip
llvm-f3428dafdc553d4354062863983a3bbe712e1266.tar.gz
llvm-f3428dafdc553d4354062863983a3bbe712e1266.tar.bz2
[ORC] Add a ~ExectionSession destructor to verify that endSession was called.
Clients are required to call ExecutionSession::endSession before destroying the ExecutionSession. Failure to do so can lead to memory leaks and other difficult to debug issues. Enforcing this requirement by assertion makes it easy to spot or debug situations where the contract was not followed.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions