summaryrefslogtreecommitdiffstats
path: root/clang/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
commit3bfa4688efe6d1b0ee163ec6d763eef487d537c5 (patch)
treea5631c40d7008aa73021b1d6bf066db8abba5293 /clang/lib/CodeGen/CodeGenModule.h
parentf3630fe4be1c799d4bb78f14927b9625841cd120 (diff)
downloadbcm5719-llvm-3bfa4688efe6d1b0ee163ec6d763eef487d537c5.tar.gz
bcm5719-llvm-3bfa4688efe6d1b0ee163ec6d763eef487d537c5.zip
Emit a .ident saying that clang produced this file.
Patch by Katya Romanova. llvm-svn: 192832
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 1f49802e3e0..066009ca7df 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/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();
OpenPOWER on IntegriCloud