aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2025-04-10 08:28:52 -0400
committerAaron Ballman <aaron@aaronballman.com>2025-04-10 08:28:52 -0400
commit6defc8ee66caef0191015a6943f1694ee7410459 (patch)
tree95aa7a7e0441077da5088974a169a44f2e51a1b0 /clang/unittests/Format/FormatTestJava.cpp
parent5c8ba28c751bf0e7cb5c3ac9d223acba4cefc739 (diff)
downloadllvm-6defc8ee66caef0191015a6943f1694ee7410459.zip
llvm-6defc8ee66caef0191015a6943f1694ee7410459.tar.gz
llvm-6defc8ee66caef0191015a6943f1694ee7410459.tar.bz2
Initialize member variable; NFC
This was found via a Coverity static analysis pass. There's no indication this was being used incorrectly in practice, but there are public interfaces which require `BR` to be non-null and valid, and `BR` was not being initialized by the constructor. This adds an in-class initializer for `BR` and some asserts, to be safe.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions