[PATCH] D66706: [Wdocumentation] fixes an assertion failure with typedefed function and block pointer

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 25 10:15:17 PDT 2019


gribozavr added inline comments.


================
Comment at: clang/lib/AST/Comment.cpp:151
+static bool getFunctionTypeLoc(TypeLoc TL, FunctionTypeLoc &ResFTL,
+                               bool testTypedefTypeLoc = false) {
   TypeLoc PrevTL;
----------------
Why is the new functionality turned off sometimes? It seems to me that we always want to look through typedefs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66706





More information about the cfe-commits mailing list