...as that is apparently what MSVC does
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/clang/AST/ASTConsumer.h | ||
---|---|---|
58–64 ↗ | (On Diff #42016) | I'm pretty sure we can relax HandleInlineMethodDefinition to take a FunctionDecl and then we don't need the extra AST consumer callback. |
lib/Parse/ParseCXXInlineMethods.cpp | ||
568–569 ↗ | (On Diff #42016) | I'd check for the friend specification here rather than asserting later. There probably are or will eventually be ways to sneak a non-friend, non-method FunctionDecl into a class context. |
include/clang/AST/ASTConsumer.h | ||
---|---|---|
58–64 ↗ | (On Diff #42016) | ...and then also rename it from HandleInlineMethodDefinition to, say,HandleInlineFunctionDefinition? Or better stick with the (then no longer accurate) name? |
include/clang/AST/ASTConsumer.h | ||
---|---|---|
58–64 ↗ | (On Diff #42016) | Renaming would be good if you're up for it. I have a feeling that nobody outside of Clang is overriding this ASTConsumer callback. It's purpose is very specific to dllexport. |