[PATCH] D57902: [AST] Fix structural inequivalence of operators

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 8 00:24:06 PST 2019


martong marked 2 inline comments as done.
martong added inline comments.


================
Comment at: unittests/AST/StructuralEquivalenceTest.cpp:251
+
+TEST_F(StructuralEquivalenceFunctionTest, CtorVsDtor) {
+  auto t = makeDecls<FunctionDecl>(
----------------
shafik wrote:
> Curious, is this test just for completeness or is this somehow related to the overloaded operator check?
This is just for the sake of completeness. Operators and ctor/dtor do not have regular names with `IdentifierInfo`.  (See the `DeclarationName` class for details.)


Repository:
  rC Clang

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

https://reviews.llvm.org/D57902





More information about the cfe-commits mailing list