diff options
author | Reid Kleckner <rnk@google.com> | 2016-03-17 19:52:20 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-03-17 19:52:20 +0000 |
commit | 0f6caf66e9975b7332bc6ce5ab29a8dfa12dfa58 (patch) | |
tree | ada1c36404a3a67ef14d8a5726c96fd4dcb65390 /clang/lib/Frontend | |
parent | 23dbc390af8218f0a3b3035d5380cd7087aefecc (diff) | |
download | bcm5719-llvm-0f6caf66e9975b7332bc6ce5ab29a8dfa12dfa58.tar.gz bcm5719-llvm-0f6caf66e9975b7332bc6ce5ab29a8dfa12dfa58.zip |
For MS ABI, emit dllexport friend functions defined inline in class
Summary: ...as that is apparently what MSVC does
Reviewers: rnk
Patch by Stephan Bergmann
Differential Revision: http://reviews.llvm.org/D15267
llvm-svn: 263738
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r-- | clang/lib/Frontend/MultiplexConsumer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/MultiplexConsumer.cpp b/clang/lib/Frontend/MultiplexConsumer.cpp index 31c9b5f23fc..ccda8c360a4 100644 --- a/clang/lib/Frontend/MultiplexConsumer.cpp +++ b/clang/lib/Frontend/MultiplexConsumer.cpp @@ -272,9 +272,9 @@ bool MultiplexConsumer::HandleTopLevelDecl(DeclGroupRef D) { return Continue; } -void MultiplexConsumer::HandleInlineMethodDefinition(CXXMethodDecl *D) { +void MultiplexConsumer::HandleInlineFunctionDefinition(FunctionDecl *D) { for (auto &Consumer : Consumers) - Consumer->HandleInlineMethodDefinition(D); + Consumer->HandleInlineFunctionDefinition(D); } void MultiplexConsumer::HandleCXXStaticMemberVarInstantiation(VarDecl *VD) { |