aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-14 20:25:53 +0000
committerChris Lattner <sabre@nondot.org>2009-04-14 20:25:53 +0000
commitcbb8fc18d86a886856f5b852a6a3ead71fec17f9 (patch)
treec65f9be2e978ba933a01cb7a7cd57873643fc038 /lib/CodeGen/CodeGenModule.h
parent0f9029406b4dcdcf740cf99edc8652c43c9350cd (diff)
Fix PR3988: extern inline functions get strong symbol definitions in
C99 mode. This is a regression from an earlier patch of mine. This also simplifies the linkage enums a bit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 06118ac137..ff6c405de0 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -315,10 +315,9 @@ public:
enum GVALinkage {
GVA_Internal,
GVA_ExternInline,
- GVA_GNUCInline,
GVA_C99Inline,
GVA_CXXInline,
- GVA_Normal
+ GVA_StrongExternal
};
private: