hanchenye-llvm-project/clang
Alexander Kornienko 976921d4b4 [ASTMatchers] New matcher hasReturnValue added
Summary: A checker (will be uploaded after this patch) needs to check implicit casts. Existing generic matcher "has" ignores implicit casts and parenthesized expressions and no specific matcher for matching return value expression preexisted. The patch adds such a matcher (hasReturnValue).

Reviewers: klimek, sbenza

Subscribers: xazax.hun, klimek, cfe-commits

Patch by Ádám Balogh!

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

llvm-svn: 264037
2016-03-22 11:03:03 +00:00
..
INPUTS
bindings libclang python bindings: Fix for bug 26394 2016-03-10 23:29:45 +00:00
cmake [CMake] Updating Apple build configurations 2016-03-15 18:27:28 +00:00
docs [ASTMatchers] New matcher hasReturnValue added 2016-03-22 11:03:03 +00:00
examples Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
include [ASTMatchers] New matcher hasReturnValue added 2016-03-22 11:03:03 +00:00
lib [ASTMatchers] New matcher hasReturnValue added 2016-03-22 11:03:03 +00:00
runtime [cmake] Add a few more compiler-rt check-* targets for EXTERNAL_COMPILER_RT 2016-03-01 15:33:52 +00:00
test [Objective-c] Do not set IsExact to true when the receiver is a class. 2016-03-22 05:00:21 +00:00
tools Add attributes for preserve_mostcc/preserve_allcc calling conventions to the C/C++ front-end 2016-03-16 18:00:46 +00:00
unittests [ASTMatchers] New matcher hasReturnValue added 2016-03-22 11:03:03 +00:00
utils [Perf-training] Fixing an issue with multi-threading PGO generation 2016-03-22 02:55:40 +00:00
www [Cxx1z] Implement Lambda Capture of *this by Value as [=,*this] (P0018R3) 2016-03-21 09:25:37 +00:00
.arcconfig
.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] Defaulting CLANG_VENDOR to PACKAGE_VENDOR 2016-03-15 18:25:36 +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

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/