llvm-project/clang
Justin Bogner 4e3a01fa5f Lex: Fix __has_feature(cxx_exceptions) for objective C++
At one point, -fexceptions was a synonym for -fcxx-exceptions. While
the driver options still enables cxx-exceptions by default, the cc1
flag is purely about exception tables and this doesn't account for
objective C exceptions. Because of this, checking for the
cxx_exceptions feature in objective C++ often gives the wrong answer.

The cxx_exceptions feature should be based on the -fcxx-exceptions cc1
flag, not -fexceptions. Furthermore, at some point the tests were
changed to use cc1 even though they were testing the driver behaviour.
We're better off testing both the driver and cc1 here.

llvm-svn: 206352
2014-04-16 02:56:48 +00:00
..
INPUTS
bindings Use the correct symbol for a left bracket. 2014-03-14 08:39:06 +00:00
docs Add description about the __is_identifier() macro 2014-04-12 02:25:32 +00:00
examples Fix build break, replace take() with release(). 2014-03-09 11:46:32 +00:00
include threadSafety::SExprBuilder::BlockInfo: Non-static member initializer is unavailable. Use default constructor instead. 2014-04-16 01:22:22 +00:00
lib Lex: Fix __has_feature(cxx_exceptions) for objective C++ 2014-04-16 02:56:48 +00:00
runtime [CMake] Propagate top-level targets for compiler-rt runtimes and test-suites 2014-03-21 13:09:25 +00:00
test Lex: Fix __has_feature(cxx_exceptions) for objective C++ 2014-04-16 02:56:48 +00:00
tools Honour -ivfsoverlay in ASTUnit to match clang 2014-04-15 18:16:25 +00:00
unittests Fix assertion when breaking string literals with tab characters. 2014-04-15 14:52:43 +00:00
utils Reapplying r204952 a second time. 2014-03-31 13:14:44 +00:00
www Tests for DR501-525. 2014-04-13 00:40:32 +00:00
.arcconfig Updated phabricator server. 2014-04-07 03:39:55 +00:00
.clang-format
.gitignore
CMakeLists.txt We now require Visual C++ 2012 (MSVC_VERSION = 1700) or later to build LLVM. 2014-03-04 09:12:17 +00:00
CODE_OWNERS.TXT Adding myself as the code owner for the attribute subsystem. 2014-01-13 22:23:27 +00:00
INSTALL.txt
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Define ENABLE_CLANG_EXAMPLES instead of relying on BUILD_EXAMPLES 2014-01-08 13:00:32 +00:00
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 development mailing list:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

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