[PATCH] D71920: [AST] Refactor propagation of dependency bits. NFC

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 3 08:03:27 PST 2020


hokein added inline comments.


================
Comment at: clang/lib/AST/TemplateName.cpp:208
          "overloaded templates shouldn't survive to here");
+  D |= TemplateNameDependence::DependentInstantiation;
+  return D;
----------------
sammccall wrote:
> what's this line about?
this indicates that the template name is dependent if it doesn't refer to any known template declarations (getAsTemplateDecl() returns null). removing it will cause a test failure.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71920





More information about the cfe-commits mailing list