llvm-project/clang/lib/Basic
Justin Lebar 86c4e63ff9 [CUDA] Let NVPTX inherit the host's calling conventions.
Summary:
When compiling device code, we may still see host code with explicit
calling conventions.  NVPTX needs to claim that it supports these CCs,
so that (a) we don't raise noisy warnings, and (b) we don't break
existing code which relies on the existence of these CCs when
specializing templates.  (If a CC doesn't exist, clang ignores it, so
two template specializations which are different only insofar as one
specifies a CC are considered identical and therefore are an error if
that CC is not supported.)

Reviewers: tra

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D28323

llvm-svn: 291136
2017-01-05 16:53:38 +00:00
..
Attributes.cpp
Builtins.cpp
CMakeLists.txt [cmake] Use LLVM_CMAKE_PATH for GetSVN script 2016-10-19 12:21:39 +00:00
CharInfo.cpp
Cuda.cpp
Diagnostic.cpp Add an assert to catch improperly constructed %diff sequences in 2016-12-23 05:19:47 +00:00
DiagnosticIDs.cpp
DiagnosticOptions.cpp
FileManager.cpp Turn FileManager DirectoryEntry::Name from raw pointer to StringRef (NFC) 2016-10-11 07:31:29 +00:00
FileSystemStatCache.cpp [VFS] Replace TimeValue usage with std::chrono 2016-11-09 10:52:22 +00:00
IdentifierTable.cpp Add some more asserts to clearly indicate that there are special cases 2016-11-04 06:32:57 +00:00
LangOptions.cpp Do not print include_next/pragma once warnings when input is a header. 2016-10-27 14:17:10 +00:00
Module.cpp [Modules] Add 'no_undeclared_includes' module map attribute 2016-10-21 01:41:56 +00:00
ObjCRuntime.cpp
OpenMPKinds.cpp [OpenMP] Sema and parsing for 'target teams distribute parallel for simd’ pragma 2017-01-03 05:23:48 +00:00
OperatorPrecedence.cpp
SanitizerBlacklist.cpp
Sanitizers.cpp
SourceLocation.cpp
SourceManager.cpp Drop a redundant ".get()" call (NFC) 2016-10-18 18:19:02 +00:00
TargetInfo.cpp [inline-asm]No error for conflict between inputs\outputs and clobber list 2016-12-26 12:23:42 +00:00
Targets.cpp [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
TokenKinds.cpp
Version.cpp
VersionTuple.cpp
VirtualFileSystem.cpp [CrashReproducer] Add support for merging -ivfsoverlay 2016-12-22 07:06:03 +00:00
Warnings.cpp