diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-03-24 00:28:06 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-03-24 00:28:06 +0000 |
commit | e27af29401da15cc2e9a92825cb24adb1aef7091 (patch) | |
tree | 4027a6bfbbd41a5866c5b5124959c3de041fffc4 /lib/CodeGen/CodeGenFunction.h | |
parent | f602806965531ee06fd8664b9d7a8912c4af2870 (diff) |
Second part of PR12251. Produce the range metadata in clang for booleans and
c++ enums.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index e0e6501b19..85cbd143d8 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -2522,6 +2522,7 @@ public: unsigned AccuracyD = 1); private: + llvm::MDNode *getRangeForLoadFromType(QualType Ty); void EmitReturnOfRValue(RValue RV, QualType Ty); /// ExpandTypeFromArgs - Reconstruct a structure of type \arg Ty |