diff options
author | Kevin Funk <kfunk@kde.org> | 2016-12-20 09:56:56 +0000 |
---|---|---|
committer | Kevin Funk <kfunk@kde.org> | 2016-12-20 09:56:56 +0000 |
commit | add07b73fd0f5cd4110bf6c944112df9350380d5 (patch) | |
tree | 0ec11e8e876f4a0c3e756f41a8f13e4ed0ca49eb /test/SemaOpenCL/null_queue.cl | |
parent | b49f706eef3ac5cdadd86aaac5a50335cf8d895e (diff) | |
download | clang-add07b73fd0f5cd4110bf6c944112df9350380d5.tar.gz |
Fix for clang_Cursor_getSpellingNameRange()
Summary:
Fixes spelling name ranges for user-defined string literal operators.
Example:
constexpr int operator""_toint(unsigned long long val)
{ return int(val); }
Before this patch the spelling name range on consisted of 'operator'.
After this patch: 'operator""_toint'.
Related to http://reviews.llvm.org/D5041, which fixes the function for
other cursor kinds.
Reviewers: akyrtzi, craigt, skalinichev, klimek, milianw, bkramer
Subscribers: cfe-commits
Tags: #clang-c
Differential Revision: https://reviews.llvm.org/D18462
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaOpenCL/null_queue.cl')
0 files changed, 0 insertions, 0 deletions