Skip to content

Commit a7daf1f

Browse files
committed
Add two more readability spaces
1 parent 07e831c commit a7daf1f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎cgcollector/lib/src/AliasAnalysis.cpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
663663
bool 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) {
996996
bool 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
10021002
bool ASTInformationExtractor::TraverseFunctionProtoTypeLoc(clang::FunctionProtoTypeLoc TL) {
10031003
#endif

0 commit comments

Comments
 (0)