[PATCH] D113954: [clang] NFC: rename internal `IsPossiblyOpaquelyQualifiedType` overload
Matheus Izvekov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 15 17:09:08 PST 2021
mizvekov updated this revision to Diff 387449.
mizvekov added a comment.
.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113954/new/
https://reviews.llvm.org/D113954
Files:
clang/lib/Sema/SemaTemplateDeduction.cpp
Index: clang/lib/Sema/SemaTemplateDeduction.cpp
===================================================================
--- clang/lib/Sema/SemaTemplateDeduction.cpp
+++ clang/lib/Sema/SemaTemplateDeduction.cpp
@@ -603,7 +603,7 @@
/*NumberOfArgumentsMustMatch=*/true);
}
-static bool IsPossiblyOpaquelyQualifiedType(const Type *T) {
+static bool IsPossiblyOpaquelyQualifiedTypeInternal(const Type *T) {
assert(T->isCanonicalUnqualified());
switch (T->getTypeClass()) {
@@ -619,7 +619,7 @@
case Type::IncompleteArray:
case Type::VariableArray:
case Type::DependentSizedArray:
- return IsPossiblyOpaquelyQualifiedType(
+ return IsPossiblyOpaquelyQualifiedTypeInternal(
cast<ArrayType>(T)->getElementType().getTypePtr());
default:
@@ -630,7 +630,7 @@
/// Determines whether the given type is an opaque type that
/// might be more qualified when instantiated.
static bool IsPossiblyOpaquelyQualifiedType(QualType T) {
- return IsPossiblyOpaquelyQualifiedType(
+ return IsPossiblyOpaquelyQualifiedTypeInternal(
T->getCanonicalTypeInternal().getTypePtr());
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113954.387449.patch
Type: text/x-patch
Size: 1137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211116/8cbbfcdb/attachment.bin>
More information about the cfe-commits
mailing list