Skip to content

Commit 494ddbe

Browse files
committed
chore(style): update code style according to LLVM coding standard
1 parent d938f75 commit 494ddbe

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

clang/lib/Sema/Common.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#include "clang/Sema/Common.h"
22

3-
namespace clang {
4-
5-
bool CheckArgTypeIsCorrect(
3+
bool clang::CheckArgTypeIsCorrect(
64
Sema *S, Expr *Arg, QualType ExpectedType,
75
llvm::function_ref<bool(clang::QualType PassedType)> Check) {
86
QualType PassedType = Arg->getType();
@@ -17,7 +15,7 @@ bool CheckArgTypeIsCorrect(
1715
return false;
1816
}
1917

20-
bool CheckAllArgTypesAreCorrect(
18+
bool clang::CheckAllArgTypesAreCorrect(
2119
Sema *SemaPtr, CallExpr *TheCall,
2220
std::variant<QualType, std::nullopt_t> ExpectedType, CheckParam Check) {
2321
unsigned int NumElts;
@@ -61,5 +59,3 @@ bool CheckAllArgTypesAreCorrect(
6159

6260
return false;
6361
}
64-
65-
} // namespace clang

0 commit comments

Comments
 (0)