File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -658,15 +658,15 @@ bool ASTInformationExtractor::TraverseParmVarDecl(clang::ParmVarDecl* PD) {
658658}
659659
660660#if LLVM_VERSION_MAJOR >= 22
661- bool ASTInformationExtractor::TraverseTypeLoc (clang::TypeLoc TL , bool TraverseQualifier ) {
661+ bool ASTInformationExtractor::TraverseTypeLoc (clang::TypeLoc TL , [[maybe_unused]] bool TraverseQualifier ) {
662662#else
663663bool ASTInformationExtractor::TraverseTypeLoc (clang::TypeLoc TL ) {
664664#endif
665665 if (!TraverseTypeLocs) {
666666 return true ;
667667 }
668668#if LLVM_VERSION_MAJOR >= 22
669- return RecursiveASTVisitor::TraverseTypeLoc (TL ,TraverseQualifier);
669+ return RecursiveASTVisitor::TraverseTypeLoc (TL , TraverseQualifier);
670670#else
671671 return RecursiveASTVisitor::TraverseTypeLoc (TL );
672672#endif
@@ -996,8 +996,8 @@ bool ASTInformationExtractor::VisitRecordType(clang::RecordType* RT) {
996996bool ASTInformationExtractor::TraverseCXXNoexceptExpr (clang::CXXNoexceptExpr*, DataRecursionQueue*) { return true ; }
997997
998998// This is the expanded code from clangs AST visitor, modified to skip exception specifieres and similar
999- #if LLVM_VERSION_MAJOR>= 22
1000- bool ASTInformationExtractor::TraverseFunctionProtoTypeLoc (clang::FunctionProtoTypeLoc TL ,[[maybe_unused]] bool TraverseQualifier) {
999+ #if LLVM_VERSION_MAJOR >= 22
1000+ bool ASTInformationExtractor::TraverseFunctionProtoTypeLoc (clang::FunctionProtoTypeLoc TL , [[maybe_unused]] bool TraverseQualifier) {
10011001#else
10021002bool ASTInformationExtractor::TraverseFunctionProtoTypeLoc (clang::FunctionProtoTypeLoc TL ) {
10031003#endif
You can’t perform that action at this time.
0 commit comments