llvm-project/clang
Daniel Jasper d2247528f5 Provide better error messages for incorrect matchers.
By changing the conversion operator into a conversion constructor, we
can enabled based on the template parameters leading to better error
messages. E.g.: stmt(decl()) will now create an error message including:

  note: candidate function not viable: no known conversion from
  'clang::ast_matchers::internal::BindableMatcher<clang::Decl>' to 'const
  clang::ast_matchers::internal::Matcher<clang::Stmt>' for 1st argument

llvm-svn: 164298
2012-09-20 09:24:58 +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 Add bindings for clang_getCompletionBriefComment to cindex.py. 2012-09-15 11:56:32 +00:00
docs Added link to HowToSetupToolingForLLVM.html. Added missing #include to the example. 2012-09-19 15:17:49 +00:00
examples Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
include Provide better error messages for incorrect matchers. 2012-09-20 09:24:58 +00:00
lib The keywords "true" and "false" shouldn't warn under -Wundef. 2012-09-20 02:38:38 +00:00
runtime Run install_name_tool to fix the dynamic library ID after it has been copied. 2012-09-17 14:18:41 +00:00
test test/Analysis/malloc-interprocedural.c: Mark it as XFAIL: cygwin,mingw,msvc for now. Investigating. 2012-09-20 08:44:12 +00:00
tools ccc-analyzer: pass -stdlib=libc++ through to the analyzer. 2012-09-19 22:56:24 +00:00
unittests Fix isDerivedFrom matcher. 2012-09-18 14:17:42 +00:00
utils Comment parsing: handle \deprecated command. It is a block command, but it 2012-09-13 20:36:01 +00:00
www Post new checker build. 2012-09-12 05:11:29 +00:00
.gitignore Teach Git to ignore the tools/extra directory. 2012-08-13 17:45:30 +00:00
CMakeLists.txt Fix capitalization of LibXml2 for CMake on case-sensitive file systems 2012-08-07 20:42:31 +00:00
INSTALL.txt
LICENSE.TXT
Makefile
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/