We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5540b8d commit 4806c8aCopy full SHA for 4806c8a
clang/lib/AST/Type.cpp
@@ -4911,9 +4911,9 @@ std::optional<NullabilityKind> Type::getNullability() const {
4911
bool Type::canHaveNullability(bool ResultIfUnknown) const {
4912
QualType type = getCanonicalTypeInternal();
4913
4914
- // We'll only see canonical types here.
4915
switch (type->getTypeClass()) {
4916
#define NON_CANONICAL_TYPE(Class, Parent) \
+ // We'll only see canonical types here. \
4917
case Type::Class: \
4918
llvm_unreachable("non-canonical type");
4919
#define TYPE(Class, Parent)
0 commit comments