[PATCH] D100712: [AST] Add NestedNameSpecifierLoc accessors to node introspection
Stephen Kelly via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 19 13:26:44 PDT 2021
steveire added inline comments.
================
Comment at: clang/unittests/Introspection/IntrospectionTest.cpp:280
STRING_LOCATION_STDPAIR(MethodDecl, getTypeSpecStartLoc())
}));
// clang-format on
----------------
steveire wrote:
> njames93 wrote:
> > I'm not entirely sure on the case, but the windows bot is giving a [[ https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2026?view=msvc-160 | C2026 ]] error here. Not entirely sure why as there is no string over the max length allowed.
> After https://reviews.llvm.org/D100720 is in, I'll push an update to fix this.
My guess is that googletest converts the macro to a string which is too long.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100712/new/
https://reviews.llvm.org/D100712
More information about the cfe-commits
mailing list