[PATCH] D16632: clang-cl: Take dllexport from original function decl into account

Stephan Bergmann via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 27 23:12:27 PST 2016


sberg added a comment.

Yeah, my first naive finding when encountering the error was that it went away when unconditionally using FD->getCanonicalDecl() instead of FD in that if-else-if block. But that caused other parts of clang-test to fail. The current version passes all tests (happens to), but indeed does not feel "right" at all.


http://reviews.llvm.org/D16632





More information about the cfe-commits mailing list