aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-03-17 19:52:20 +0000
committerReid Kleckner <rnk@google.com>2016-03-17 19:52:20 +0000
commit0f6caf66e9975b7332bc6ce5ab29a8dfa12dfa58 (patch)
treeada1c36404a3a67ef14d8a5726c96fd4dcb65390 /clang/lib/CodeGen/CodeGenAction.cpp
parent23dbc390af8218f0a3b3035d5380cd7087aefecc (diff)
downloadllvm-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.cpp6
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();