Skip to content

Commit d3cf0e8

Browse files
committed
code review feedback - add header ifdef and comment
1 parent 443eb3d commit d3cf0e8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88
//
9+
// Helper classes for creating HLSL builtin class types. Used by external HLSL
10+
// sema source.
911
//
1012
//===----------------------------------------------------------------------===//
1113

clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@
66
//
77
//===----------------------------------------------------------------------===//
88
//
9+
// Helper classes for creating HLSL builtin class types. Used by external HLSL
10+
// sema source.
911
//
1012
//===----------------------------------------------------------------------===//
1113

14+
#ifndef LLVM_CLANG_SEMA_HLSLBUILTINTYPEDECLBUILDER_H
15+
#define LLVM_CLANG_SEMA_HLSLBUILTINTYPEDECLBUILDER_H
16+
1217
#include "clang/AST/Type.h"
1318
#include "clang/Sema/Sema.h"
1419
#include "llvm/ADT/StringMap.h"
@@ -94,3 +99,5 @@ class BuiltinTypeDeclBuilder {
9499
} // namespace hlsl
95100

96101
} // namespace clang
102+
103+
#endif // LLVM_CLANG_SEMA_HLSLBUILTINTYPEDECLBUILDER_H

0 commit comments

Comments
 (0)