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/CodeGen/CodeGenAction.cpp | |
parent | 23dbc390af8218f0a3b3035d5380cd7087aefecc (diff) | |
download | llvm-0f6caf66e9975b7332bc6ce5ab29a8dfa12dfa58.zip llvm-0f6caf66e9975b7332bc6ce5ab29a8dfa12dfa58.tar.gz llvm-0f6caf66e9975b7332bc6ce5ab29a8dfa12dfa58.tar.bz2 |
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/CodeGen/CodeGenAction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenAction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp index 638f79a..edd258d3 100644 --- a/clang/lib/CodeGen/CodeGenAction.cpp +++ b/clang/lib/CodeGen/CodeGenAction.cpp @@ -123,14 +123,14 @@ namespace clang { return true; } - void HandleInlineMethodDefinition(CXXMethodDecl *D) override { + void HandleInlineFunctionDefinition(FunctionDecl *D) override { PrettyStackTraceDecl CrashInfo(D, SourceLocation(), Context->getSourceManager(), - "LLVM IR generation of inline method"); + "LLVM IR generation of inline function"); if (llvm::TimePassesIsEnabled) LLVMIRGeneration.startTimer(); - Gen->HandleInlineMethodDefinition(D); + Gen->HandleInlineFunctionDefinition(D); if (llvm::TimePassesIsEnabled) LLVMIRGeneration.stopTimer(); |