llvm-project/clang
Matt Beaumont-Gay d9f244afbb Fix a QoI bug reported by a user.
Set the source location for the "member reference base type ... is not a
structure or union" diag to point at the operator rather than the member name.
If we're giving this diagnostic because of a typo'd '.' in place of a ';' at
the end of a line, the caret previously pointed at the identifier on the
following line, which isn't as helpful as it could be. Pointing the caret at
the '.' makes it more obvious what the problem is.

llvm-svn: 155267
2012-04-21 01:12:48 +00:00
..
INPUTS all-std-headers.cpp: Include the C++11 headers when building with clang 2012-04-13 03:39:16 +00:00
bindings/python [clang.py] Implement TypeKind.spelling 2012-04-15 18:51:10 +00:00
docs Added equivalent method calls in examples. 2012-04-19 20:48:09 +00:00
examples Remove clangIndex reference from clang-interpreter CMake build 2012-04-13 17:22:46 +00:00
include [analyzer] Run remove dead bindings right before leaving a function. 2012-04-20 21:59:08 +00:00
lib Fix a QoI bug reported by a user. 2012-04-21 01:12:48 +00:00
runtime build/compiler-rt: Stop forcing off -integrated-as for compiler-rt builds. 2012-03-05 20:19:03 +00:00
test Fix a QoI bug reported by a user. 2012-04-21 01:12:48 +00:00
tools [libclang] Don't set dylib load address to 0xe000000. 2012-04-20 22:07:11 +00:00
unittests No need to put the SourceManager in with the ASTContext, as the ASTContext 2012-04-20 14:07:01 +00:00
utils Add SmallVectorImpl Visual Studio visualizer. Patch by Nikola Smiljanic. 2012-04-19 17:26:49 +00:00
www c++11 status: Replace references to "SVN" with "3.1" to avoid confusion when they diverge. 2012-04-20 18:43:50 +00:00
.gitignore Revert "Test commit" 2011-10-24 10:03:25 +00:00
CMakeLists.txt use DEFAULT_SYSROOT 2012-04-16 04:16:43 +00:00
INSTALL.txt
LICENSE.TXT Happy new year 2012! 2012-01-01 08:16:56 +00:00
Makefile Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
ModuleInfo.txt
NOTES.txt Add a note about a missing optimization in the case of virtual 2012-03-30 04:25:03 +00:00
README.txt commit access verified, revert change 2012-03-06 22:55:51 +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.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/