diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2013-06-13 21:50:44 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2013-06-13 21:50:44 +0000 |
| commit | 678eca456bc62900dc7407bdbc9fa282da9d2f8f (patch) | |
| tree | 2da495e0f72080966f6bab138e6f183e2e116238 /lib/CodeGen/CodeGenModule.h | |
| parent | aa12d8f06e641ee9f047b89efc28cecf9498ac05 (diff) | |
| download | clang-678eca456bc62900dc7407bdbc9fa282da9d2f8f.tar.gz clang-678eca456bc62900dc7407bdbc9fa282da9d2f8f.tar.bz2 clang-678eca456bc62900dc7407bdbc9fa282da9d2f8f.tar.xz | |
Fix the linkage of static locals inside a CapturedStmt. (Found in the
process of trying to fix the related issue for block literals.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183951 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index ffb1243726..6e5985d9bf 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -925,6 +925,7 @@ public: void AddDependentLib(StringRef Lib); llvm::GlobalVariable::LinkageTypes getFunctionLinkage(GlobalDecl GD); + llvm::GlobalVariable::LinkageTypes getFunctionLinkage(const FunctionDecl *D); void setFunctionLinkage(GlobalDecl GD, llvm::GlobalValue *V) { V->setLinkage(getFunctionLinkage(GD)); |
