[PATCH] D18385: [CUDA] Simplify SemaCUDA/function-overload.cu test.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 20:53:45 PDT 2016


jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.

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).

http://reviews.llvm.org/D18385

Files:
  test/SemaCUDA/function-overload.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18385.51382.patch
Type: text/x-patch
Size: 13390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160323/04adef26/attachment-0001.bin>


More information about the cfe-commits mailing list