aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorJustin Holewinski <jholewinski@nvidia.com>2025-10-09 09:58:49 -0700
committerJustin Holewinski <jholewinski@nvidia.com>2025-10-17 07:22:58 -0700
commit1c11c6004c820bf43eb2356da93e7bc8cb38f51e (patch)
tree92ffb4d093ff0fafa13ef44211eca53df9ae0ff1 /clang/unittests/Format/FormatTestJava.cpp
parent728e925476c6c8c54cf2f3403dec014be63b4379 (diff)
downloadllvm-1c11c6004c820bf43eb2356da93e7bc8cb38f51e.zip
llvm-1c11c6004c820bf43eb2356da93e7bc8cb38f51e.tar.gz
llvm-1c11c6004c820bf43eb2356da93e7bc8cb38f51e.tar.bz2
Fix MSVC compile error in BitstreamRemarkParser.h when targeting C++17
The following errors are seen in our builds using MSVC 2022: BitstreamRemarkParser.h(115): error C2990: 'llvm::remarks::BitstreamBlockParserHelper': non-class template has already been declared as a class template BitstreamRemarkParser.h(66): note: see declaration of 'llvm::remarks::BitstreamBlockParserHelper' This change fixes the build issue by adding an explicit template argument to the `friend class` statements. This issue is not seen if using `-std:c++20`, but we still support building as C++17.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions