cpplearner added inline comments.

================
Comment at: lib/Sema/SemaDecl.cpp:5092
     // The parameter types are identical
-    if (Context.hasSameType(DefParamTy, DeclParamTy))
+    if (Context.hasSameType(DefParamTy.getUnqualifiedType(),
+                            DeclParamTy.getUnqualifiedType()))
----------------
I see this is what `Sema::FunctionParamTypesAreEqual` does, but maybe both 
places should use `hasSameUnqualifiedType`?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57032/new/

https://reviews.llvm.org/D57032



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to