diff options
| author | Alp Toker <alp@nuanti.com> | 2013-12-21 05:20:03 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-12-21 05:20:03 +0000 |
| commit | a2cd7434fdd6e55d780b290aaef4365fd011252c (patch) | |
| tree | 3179d0906341aaa145e9edac0f6b79799fb773ed /lib/CodeGen/CGExprConstant.cpp | |
| parent | f83451512ecb54410e1ca80a1b3a762051bcc2d1 (diff) | |
| download | clang-a2cd7434fdd6e55d780b290aaef4365fd011252c.tar.gz clang-a2cd7434fdd6e55d780b290aaef4365fd011252c.tar.bz2 clang-a2cd7434fdd6e55d780b290aaef4365fd011252c.tar.xz | |
Fix getCustomDiagID() usage in CodeGen and TextDiagnosticBuffer
DiagIDs are a cached resource generally only constructed from compile-time
constant or stable format strings.
Escaping arbitrary messages and constructing DiagIDs from them didn't make
sense.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197856 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
