Skip to content

Commit 55f5994

Browse files
[AST] Fix warnings
This patch fixes: clang/lib/AST/Type.cpp:4893:80: error: multi-line // comment [-Werror,-Wcomment] clang/lib/AST/Type.cpp:4894:80: error: multi-line // comment [-Werror,-Wcomment] clang/lib/AST/Type.cpp:4891:11: error: 12 enumeration values not handled in switch: 'Adjusted', 'Decayed', 'Attributed'... [-Werror,-Wswitch]
1 parent 9732427 commit 55f5994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/Type.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4890,7 +4890,7 @@ bool Type::canHaveNullability(bool ResultIfUnknown) const {
48904890

48914891
switch (type->getTypeClass()) {
48924892
#define NON_CANONICAL_TYPE(Class, Parent) \
4893-
// We'll only see canonical types here. \
4893+
/* We'll only see canonical types here. */ \
48944894
case Type::Class: \
48954895
llvm_unreachable("non-canonical type");
48964896
#define TYPE(Class, Parent)

0 commit comments

Comments
 (0)