llvm-project/clang
David L. Jones cd58bd6200 Use Backend_EmitMCNull for null codegen unit tests.
Using Backend_EmitLL attemps to create a file with an empty filename.
This is problematic in certain environments: an empty filename may be
illegal, or the default output path may not be writable (in the case
where an empty filename would otherwise have some non-failing
semantics). This patch switches to use Backend_EmitMCNull, which
allows CodeGen to run, but does not attempt to create or write an
output file.

Differential Revision: http://reviews.llvm.org/D17405

llvm-svn: 261252
2016-02-18 20:27:16 +00:00
..
INPUTS
bindings libclang: expose dllexport, dllimport attributes 2015-12-10 18:45:18 +00:00
cmake [CMake] For multi-stage builds to be deterministic we need to disable timestamps. 2016-02-10 02:17:21 +00:00
docs Add an AST matcher for real floating-point types. e.g., float, double, long double, but not complex. 2016-02-18 16:36:01 +00:00
examples Revert r260265, "clang-cl: Support loading plugins on Windows" 2016-02-11 16:33:20 +00:00
include [analyzer] Improve modeling of ObjC synthesized property setters. 2016-02-18 19:13:30 +00:00
lib [analyzer] Include comment mistakenly left out of r261243. NFC. 2016-02-18 19:37:39 +00:00
runtime Remove autoconf support 2016-01-26 21:30:40 +00:00
test Make test less prone to attribute changes 2016-02-18 20:02:03 +00:00
tools [analyzer] Add --force-analyze-debug-code option to scan-build 2016-02-18 11:08:46 +00:00
unittests Use Backend_EmitMCNull for null codegen unit tests. 2016-02-18 20:27:16 +00:00
utils [cmake] Revert r260742 (and r260744) to improve order file support. 2016-02-17 02:13:35 +00:00
www [analyzer] Add --force-analyze-debug-code option to scan-build 2016-02-18 11:08:46 +00:00
.arcconfig Revert r242365. 2015-07-16 00:32:26 +00:00
.clang-format
.clang-tidy
.gitignore Add the clang debug info test directory to .gitignore as it's managed separately. 2016-01-29 01:35:55 +00:00
CMakeLists.txt [cmake] Revert r260742 (and r260744) to improve order file support. 2016-02-17 02:13:35 +00:00
CODE_OWNERS.TXT Added Anastasia Stulova as a code owner for OpenCL 2016-02-03 18:51:19 +00:00
INSTALL.txt Honor system specific paths of MAN pages 2015-11-20 18:49:02 +00:00
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00

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 development mailing list:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

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