diff options
author | Justin Lebar <jlebar@google.com> | 2016-11-08 23:45:51 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-11-08 23:45:51 +0000 |
commit | 2d56c265046de717dd117c248c3ba8d2a5ff7a5d (patch) | |
tree | 81306e43c91b58c327c1daf1cc1ca37d3da4e6a7 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 4f243e8d93d17a5346f147b20c80a95352616e74 (diff) | |
download | llvm-2d56c265046de717dd117c248c3ba8d2a5ff7a5d.zip llvm-2d56c265046de717dd117c248c3ba8d2a5ff7a5d.tar.gz llvm-2d56c265046de717dd117c248c3ba8d2a5ff7a5d.tar.bz2 |
[CUDA] Use only the GVALinkage on function definitions.
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
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions