diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2025-04-10 08:10:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-10 08:10:16 -0400 |
commit | 71f629fc2a93e41577c09bdd782b2ba524ed5fea (patch) | |
tree | 826e6fec5c485a31987a409a84d0abc278f36fcf /clang/unittests/Format/FormatTestJava.cpp | |
parent | 6d98d45c9c1867d4006f93e04bc1380b36e34f18 (diff) | |
download | llvm-71f629fc2a93e41577c09bdd782b2ba524ed5fea.zip llvm-71f629fc2a93e41577c09bdd782b2ba524ed5fea.tar.gz llvm-71f629fc2a93e41577c09bdd782b2ba524ed5fea.tar.bz2 |
Initialize member variable; NFC (#135167)
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