summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-16 19:28:50 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-16 19:28:50 +0000
commit9686f1234e1b9a44270452477e6690ccadcd204a (patch)
tree9b3873acd09b06e5117db0341520e6c7112c1b18 /lib/CodeGen/CodeGenModule.h
parent15dbacc7cb0e01256345d85efdf1d43eec71b9f9 (diff)
downloadclang-9686f1234e1b9a44270452477e6690ccadcd204a.tar.gz
clang-9686f1234e1b9a44270452477e6690ccadcd204a.tar.bz2
clang-9686f1234e1b9a44270452477e6690ccadcd204a.tar.xz
Emit a .ident saying that clang produced this file.
Patch by Katya Romanova. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 1f49802e3e..066009ca7d 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -1094,6 +1094,9 @@ private:
void EmitDeclMetadata();
+ /// \brief Emit the Clang version as llvm.ident metadata.
+ void EmitVersionIdentMetadata();
+
/// EmitCoverageFile - Emit the llvm.gcov metadata used to tell LLVM where
/// to emit the .gcno and .gcda files in a way that persists in .bc files.
void EmitCoverageFile();