llvm-project/clang
Joseph Huber 11adae5089 [Clang] Make offloading flags accept '-' and '--'
Currently all of the flags beginning with `--offload` such as
`--offload-arch` or `--offload-device-only` require the double-dash
form. However, if a user uses a single dash it will instead name a file
'ffload-arch' for example. This has been the cause of a lot of user
confusion. This patch changes these options to also accept a single
dash. This is similar to many other driver arguments beginning with
`-o`.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D135076
2022-10-03 10:35:51 -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 [clang][auto-init] Deprecate -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang 2022-10-01 18:45:45 -07:00
examples
include [Clang] Make offloading flags accept '-' and '--' 2022-10-03 10:35:51 -05:00
lib [ARM64EC][clang-cl] Add /arm64EC flag 2022-10-03 21:20:51 +08:00
runtime Revert "[cmake] Use `CMAKE_INSTALL_LIBDIR` too" 2022-08-18 22:46:32 -04:00
test [ARM][AArch64] Dont use macros for half instrinsics in NeonEmitter 2022-10-03 15:27:23 +01:00
tools [Support] Class for response file expansion (NFC) 2022-09-29 19:15:01 +07:00
unittests [clang-format] Correctly indent closing brace of compound requires 2022-10-01 08:16:57 +03:00
utils [ARM][AArch64] Dont use macros for half instrinsics in NeonEmitter 2022-10-03 15:27:23 +01:00
www [Clang] P1169R4: static operator() 2022-09-29 23:03:26 +03:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Add `CLANG_ENABLE_HLSL` CMake option 2022-09-27 12:33:22 -05: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/