llvm-project/clang
Douglas Gregor 928479e727 Revert the fix for PR8013.
That bug concerned the well-formedness of code such as (&ovl)(a, b,
c). GCC rejects the code, while EDG accepts it. On further study of the
standard, I see no support for EDG's position: in particular, C++
[over.over] does not list this as a context where we can take the
address of an overloaded function, C++ [over.call.func] does not
reference the address-of operator at any point, and C++ [expr.call]
claims that the function argument in a call is either a function
lvalue or a pointer-to-function; (&ovl) is neither.

llvm-svn: 118620
2010-11-09 20:03:54 +00:00
..
INPUTS
bindings/python Rename 'CIndex' to 'libclang', since it has basically become our stable public 2010-04-30 21:51:10 +00:00
clang.xcodeproj Fixes a rewrite bug, rewriting nested property usage 2010-11-08 18:37:50 +00:00
docs make the example a bit better, encouraging people to use "suggestions of what to use" in the message :) 2010-11-09 19:43:35 +00:00
examples Turns out that we may end up calling dladdr on GetExecutablePath, give it external linkage to make sure the lookup works on all platforms. 2010-10-30 17:32:40 +00:00
include Use the right calling convention when mangling names in the Microsoft C++ 2010-11-09 18:04:24 +00:00
lib Revert the fix for PR8013. 2010-11-09 20:03:54 +00:00
runtime Driver/Darwin: Add a runtime library just for ___eprintf -- when targeting i386 2010-09-22 00:03:52 +00:00
test Revert the fix for PR8013. 2010-11-09 20:03:54 +00:00
tools ntroduce clang_getSpellingLocation() into libclang, to provide the 2010-11-09 06:24:54 +00:00
utils utils/ABITest: Factor out type naming code slightly. 2010-09-27 20:13:24 +00:00
www Replace "#if __clang__" by "#if __has_feature(attribute_analyzer_noreturn)" to be consistent with all other snippets on this page. 2010-11-09 18:54:17 +00:00
CMakeLists.txt Copied some flags from the Makefile build to the list of GCC flags. 2010-10-15 00:16:22 +00:00
INSTALL.txt
LICENSE.TXT
Makefile Move lib/Runtime to runtime/, and build after everything else. 2010-06-30 22:10:38 +00:00
ModuleInfo.txt
NOTES.txt A Release-Asserts build is now called a Release build. 2010-07-07 07:49:17 +00:00
README.txt Fix typo (test commit) 2010-06-17 12:39:05 +00:00
TODO.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/