diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2025-10-19 16:45:50 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-19 16:45:50 -0300 |
commit | 63ca2fd7a16f532a95e53780220d2eae0debb8d9 (patch) | |
tree | 2c26c3504fa50b13935ef90fbe0d21642035dce9 /clang/unittests/Format/FormatTestJava.cpp | |
parent | e4c97f0fb9788877412f5fa40fb1b50153dac735 (diff) | |
download | llvm-63ca2fd7a16f532a95e53780220d2eae0debb8d9.zip llvm-63ca2fd7a16f532a95e53780220d2eae0debb8d9.tar.gz llvm-63ca2fd7a16f532a95e53780220d2eae0debb8d9.tar.bz2 |
[clang] Reland: separate recursive instantiation check from CodeSynthesisContext (#164177)
This makes pushing / popping CodeSynthesisContexts much cheaper, as it
delegates to another class this functionality which is not actually
needed in most cases.
It also converts a bunch of these uses into just asserts.
This improves compiler performance a little bit:
Some diagnostics change a little bit, because we avoid printing a
redundant context notes.
This relands #162224 with no changes, turns out the buildbot failure was
unrelated.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions