llvm-project/clang/lib
Artem Belevich be86b6773b [CUDA] Allow local static variables with target attributes.
While CUDA documentation claims that such variables are not allowed[1], NVCC has
been accepting them since CUDA-10.0[2] and some headers in CUDA-11 rely on this
working.

1. https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#static-variables-function
2. https://godbolt.org/z/zsodzc

Differential Revision: https://reviews.llvm.org/D88345
2020-11-03 10:30:38 -08:00
..
ARCMigrate [clang] Use SourceLocation as key in hash maps, NFCI 2020-10-20 16:24:09 +01:00
AST Ignore template instantiations if not in AsIs mode 2020-11-02 20:21:48 +00:00
ASTMatchers [ASTMatchers] Made isExpandedFromMacro Polymorphic 2020-11-03 14:36:51 +00:00
Analysis Thread safety analysis: Consider static class members as inaccessible 2020-10-30 00:35:14 +01:00
Basic [AMDGPU] Add gfx1033 target 2020-11-03 16:27:48 +00:00
CodeGen [AMDGPU] Add gfx1033 target 2020-11-03 16:27:48 +00:00
CrossTU [analyzer] Add CTUImportCppThreshold for C++ files 2020-07-09 15:36:33 +02:00
DirectoryWatcher Revert "DirectoryWatcher: add an implementation for Windows" 2020-10-13 12:35:22 -07:00
Driver [clang] [MinGW] Allow using the vptr sanitizer 2020-11-03 09:59:09 +02:00
Edit [clang] Use SourceLocation as key in hash maps, NFCI 2020-10-20 16:24:09 +01:00
Format [clang-format] Improve BAS_DontAlign+AllowAllArgumentsOnNextLine=false 2020-11-02 17:52:37 +00:00
Frontend Reland - [Clang] Add the ability to map DLL storage class to visibility 2020-11-02 23:24:49 +00:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [X86] Support Intel avxvnni 2020-10-31 12:39:51 +08:00
Index [Clang][PowerPC] Add __vector_pair and __vector_quad types 2020-10-28 13:19:20 -05:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex HeaderSearch: Simplify use of FileEntryRef in HeaderSearch::LookupFile, NFC 2020-10-23 22:10:50 -04:00
Parse Add option 'exceptions' to pragma clang fp 2020-10-31 17:36:12 +07:00
Rewrite SourceManager: Clarify that FileInfo always has a ContentCache, NFC 2020-10-23 12:38:53 -04:00
Sema [CUDA] Allow local static variables with target attributes. 2020-11-03 10:30:38 -08:00
Serialization Fix build error on bots after 9f151df178 2020-11-02 15:55:13 -05:00
StaticAnalyzer [analyzer][ReturnPtrRangeChecker] Fix a false positive on end() iterator 2020-11-02 16:41:17 +01:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling [Syntax] DeclaratorList is a List 2020-11-03 03:29:06 +01:00
CMakeLists.txt Add an explicit toggle for the static analyzer in clang-tidy 2020-09-10 10:48:17 -04:00