]> granicus.if.org Git - clang/commit
[CUDA] Simplify SemaCUDA/function-overload.cu test.
authorJustin Lebar <jlebar@google.com>
Wed, 23 Mar 2016 22:42:28 +0000 (22:42 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 23 Mar 2016 22:42:28 +0000 (22:42 +0000)
commit812c92bb4816274f3329cccf2ae0037f408992a2
treee2e090b02abaa77a6f6aecb63a65d3cc206b8dcf
parent7b9fff9af1b6972462dca7dc65f3a51662ff4d69
[CUDA] Simplify SemaCUDA/function-overload.cu test.

Summary:
Principally, don't hardcode the line numbers of various notes.  This
lets us make changes to the test without recomputing linenos everywhere.

Instead, just tell -verify that we may get 0 or more notes pointing to
the relevant function definitions.  Checking that we get exactly the
right note isn't so important (and anyway is checked elsewhere).

Reviewers: tra

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D18385

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264206 91177308-0d34-0410-b5e6-96231b3b80d8
test/SemaCUDA/function-overload.cu