llvm-project/clang
Joseph Huber ac135f9ee5 [Clang] Fix using LTO with the new driver in RDC-mode
The new driver supports LTO for RDC-mode compilations. However, this was
not correctly handled for non-LTO compilations. HIP can handle this as
it is fed to `lld` which will perform the LTO itself. CUDA however would
require every work which is wholly useless in non-RDC mode so it should
report an error.

Reviewed By: yaxunl

Differential Revision: https://reviews.llvm.org/D135305
2022-10-06 09:36:09 -05:00
..
bindings Add clang_CXXMethod_isDeleted function 2022-09-21 11:12:48 -04:00
cmake [llvm-driver] Support single distributions 2022-10-01 20:20:28 +00:00
docs Silence a duplicate diagnostic about K&R C function definitions 2022-10-06 10:08:23 -04:00
examples
include [ASTMatchers][NFC] Fix wrong code ending command in documentation comments 2022-10-06 22:32:15 +08:00
lib [Clang] Fix using LTO with the new driver in RDC-mode 2022-10-06 09:36:09 -05:00
runtime Revert "[cmake] Use `CMAKE_INSTALL_LIBDIR` too" 2022-08-18 22:46:32 -04:00
test [Clang] Fix using LTO with the new driver in RDC-mode 2022-10-06 09:36:09 -05:00
tools [clang-offload-bundler] extracting compatible bundle entry 2022-10-05 19:44:38 -04:00
unittests Revert "Revert "[clang][Lex] Fix a crash on malformed string literals"" 2022-10-06 11:41:18 +02:00
utils [ARM][AArch64] Dont use macros for half instrinsics in NeonEmitter 2022-10-03 15:27:23 +01:00
www Implement DR2565: Invalid types in the parameter-declaration-clause of a 2022-10-04 10:32:48 -07:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [clang] Remove CLANG_ENABLE_OPAQUE_POINTERS cmake option 2022-10-06 09:46:04 +02:00
CodeOwners.rst Update the clang and clang-tools-extra code owners files 2022-09-06 08:28:03 -04:00
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang forums:
  https://discourse.llvm.org/c/clang/

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/