aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-11-08 23:45:51 +0000
committerJustin Lebar <jlebar@google.com>2016-11-08 23:45:51 +0000
commit2d56c265046de717dd117c248c3ba8d2a5ff7a5d (patch)
tree81306e43c91b58c327c1daf1cc1ca37d3da4e6a7 /clang/unittests/Basic/VirtualFileSystemTest.cpp
parent4f243e8d93d17a5346f147b20c80a95352616e74 (diff)
downloadllvm-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