Skip to content

Commit 3b34eb3

Browse files
committed
clang-format
1 parent 6c6f17c commit 3b34eb3

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

clang/include/clang-c/Index.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2968,8 +2968,7 @@ enum CXTypeKind {
29682968
CXType_Atomic = 177,
29692969
CXType_BTFTagAttributed = 178,
29702970

2971-
#define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) \
2972-
CXType_##Id,
2971+
#define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) CXType_##Id,
29732972
#include "clang/Basic/HLSLIntangibleTypes.def"
29742973
};
29752974

clang/include/clang/AST/Type.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2630,7 +2630,7 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
26302630

26312631
#define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) bool is##Id##Type() const;
26322632
#include "clang/Basic/HLSLIntangibleTypes.def"
2633-
bool isHLSLSpecificType() const; // Any HLSL specific type
2633+
bool isHLSLSpecificType() const; // Any HLSL specific type
26342634

26352635
/// Determines if this type, which must satisfy
26362636
/// isObjCLifetimeType(), is implicitly __unsafe_unretained rather

clang/lib/AST/ASTContext.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,14 +1379,14 @@ void ASTContext::InitBuiltinTypes(const TargetInfo &Target,
13791379
InitBuiltinType(OCLQueueTy, BuiltinType::OCLQueue);
13801380
InitBuiltinType(OCLReserveIDTy, BuiltinType::OCLReserveID);
13811381

1382-
#define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \
1383-
InitBuiltinType(Id##Ty, BuiltinType::Id);
1382+
#define EXT_OPAQUE_TYPE(ExtType, Id, Ext) \
1383+
InitBuiltinType(Id##Ty, BuiltinType::Id);
13841384
#include "clang/Basic/OpenCLExtensionTypes.def"
13851385
}
13861386

13871387
if (LangOpts.HLSL) {
13881388
#define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) \
1389-
InitBuiltinType(SingletonId, BuiltinType::Id);
1389+
InitBuiltinType(SingletonId, BuiltinType::Id);
13901390
#include "clang/Basic/HLSLIntangibleTypes.def"
13911391
}
13921392

clang/tools/libclang/CXType.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ static CXTypeKind GetBuiltinTypeKind(const BuiltinType *BT) {
7979
BTCASE(OCLReserveID);
8080
#define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) BTCASE(Id);
8181
#include "clang/Basic/HLSLIntangibleTypes.def"
82-
default:
83-
return CXType_Unexposed;
84-
}
82+
default:
83+
return CXType_Unexposed;
84+
}
8585
#undef BTCASE
8686
}
8787

0 commit comments

Comments
 (0)