Skip to content

Commit cf6b512

Browse files
committed
Update AreQTsEqual
1 parent 85d8635 commit cf6b512

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libclc/utils/libclc-remangler/LibclcRemangler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ class Remangler {
326326
++TemplateIndex;
327327
}
328328
// Fix up the template types in the original FD's arg tys and return ty.
329-
auto AreQTsEqual = [&](clang::QualType &LHS, clang::QualType &RHS) -> bool {
329+
auto AreQTsEqual = [&](const clang::QualType &LHS,
330+
const clang::QualType &RHS) -> bool {
330331
return (LHS.getBaseTypeIdentifier() && RHS.getBaseTypeIdentifier() &&
331332
LHS.getBaseTypeIdentifier()->isStr(
332333
RHS.getBaseTypeIdentifier()->getName())) ||

0 commit comments

Comments
 (0)