llvm-project/clang/lib
Anastasia Stulova cf3ef15a6e [OpenCL] Add builtin declarations by default.
This change enables the builtin function declarations
in clang driver by default using the Tablegen solution
along with the implicit include of 'opencl-c-base.h'
header.

A new flag '-cl-no-stdinc' disabling all default
declarations and header includes is added. If any other
mechanisms were used to include the declarations (e.g.
with -Xclang -finclude-default-header) and the new default
approach is not sufficient the, `-cl-no-stdinc` flag has
to be used with clang to activate the old behavior.

Tags: #clang

Differential Revision: https://reviews.llvm.org/D96515
2021-02-22 12:24:16 +00:00
..
APINotes APINotes: annotate dump methods (NFC) 2021-01-08 20:49:28 +00:00
ARCMigrate ARCMigrate: Migrate ObjCMT.cpp over to FileEntryRef 2020-12-09 14:16:05 -08:00
AST [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
ASTMatchers Add code complete support for mapAnyOf 2021-02-07 16:03:05 +00:00
Analysis [analyzer] Introduce MacroExpansionContext to libAnalysis 2021-02-22 11:11:57 +01:00
Basic [PowerPC] Add option for ROP Protection 2021-02-18 12:15:50 +00:00
CodeGen [AArch64] Adding SHA3 Intrinsics support 2021-02-22 12:09:20 +00:00
CrossTU [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
DirectoryWatcher Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
Driver [OpenCL] Add builtin declarations by default. 2021-02-22 12:24:16 +00:00
Edit [clang] Use SourceLocation as key in hash maps, NFCI 2020-10-20 16:24:09 +01:00
Format [clang-format] Add possibility to be based on parent directory 2021-02-14 19:56:10 +01:00
Frontend [clang][cli] Pass '-Wspir-compat' to cc1 from driver 2021-02-22 09:54:44 +01:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [OpenCL] Move printf declaration to opencl-c-base.h 2021-02-18 11:27:19 +00:00
Index [Clang][RISCV] Define RISC-V V builtin types 2021-02-18 10:17:31 +08:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex Don't allow __VA_OPT__ to be detected by #ifdef. 2021-01-27 13:34:15 -08:00
Parse [OpenMP] Implement '#pragma omp tile', by Michael Kruse (@Meinersbur). 2021-02-16 09:45:07 -08:00
Rewrite SourceManager: Clarify that FileInfo always has a ContentCache, NFC 2020-10-23 12:38:53 -04:00
Sema [clang][CodeComplete] Ensure there are no crashes when completing with ParenListExprs as LHS 2021-02-22 10:01:22 +01:00
Serialization Switch to using LEB encoding for key and data lengths in on-disk hash 2021-02-18 17:19:01 -08:00
StaticAnalyzer [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling [Syntax] No crash on OpaqueValueExpr. 2021-02-18 10:32:04 +01:00
CMakeLists.txt APINotes: add APINotesYAMLCompiler 2020-11-05 18:55:13 +00:00