[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)
commite82caa3055692d396c5cbb5a0a7c9241153c4b9f
treec9782bc33a4b6b88e2b909bf641067c2cb54b5bb
parent334535132f43f1376e3f3f4bf79e72e86e7d8bac
[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

llvm-svn: 264206
clang/test/SemaCUDA/function-overload.cu