summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCUDA/add-inline-in-definition.cu
Commit message (Collapse)AuthorAgeFilesLines
* [CUDA] Use only the GVALinkage on function definitions.Justin Lebar2016-11-081-0/+52
Summary: Previously we'd look at the GVALinkage of whatever FunctionDecl you happened to be calling. This is not right. In the absence of the gnu_inline attribute, to be handled separately, the function definition determines the function's linkage. So we need to wait until we get a def before we can know whether something is known-emitted. Reviewers: tra Subscribers: cfe-commits, rsmith Differential Revision: https://reviews.llvm.org/D26268 llvm-svn: 286313
OpenPOWER on IntegriCloud