Review feedback change per Edwin: Move non-public members to end of classes.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@176883 91177308-0d34-0410-b5e6-96231b3b80d8
Added future directions comment and a couple of fixme's.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@176998 91177308-0d34-0410-b5e6-96231b3b80d8
Adding a new code owners file for clang-tools-extra.

Populated file with known existing owners.



git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@177083 91177308-0d34-0410-b5e6-96231b3b80d8
Prevent nullptr_t-typed exprs from being replaced

The Use-Nullptr transform was replacing nullptr_t-typed expressions because in
the AST such expressions have an implicit NullToPointer cast around them. Now
the transform ignores these expressions.

Fixes PR15414.


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@177168 91177308-0d34-0410-b5e6-96231b3b80d8
Don't include outer-most explicit cast in nullptr replacement

The outer-most explicit cast is now left alone by the Use-Nullptr transform to
maintain the type of the expression and avoid introducing ambiguities.

Fixes PR15395.

Author: Ariel J Bernal <ariel.j.bernal@intel.com>


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@177179 91177308-0d34-0410-b5e6-96231b3b80d8
Don't replace macro usage if macro body has NULL

In case of macro body expansion, check to see if the macro is named NULL and
don't replace inside the macro body. This fixes the case when NULL appears
inside the macro body and the transform replaces the usage of the macro with
nullptr. This is an easy fix for the problem for now and we should analyze the
macro body to see if it expands to only NullToPointer in the future for a more
robust solution that takes care of user defined macros that behaves like NULL.

Other changes:
- Moved complex macro tests to macros.cpp
- Added new test cases.
- Added checks to make sure that the macro bodies are not modified by the tool.

Fixes: PR15396

Author: Tareq A Siraj <tareq.a.siraj@intel.com>


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@177422 91177308-0d34-0410-b5e6-96231b3b80d8
Remove clang-format from clang-tools-extra.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@177504 91177308-0d34-0410-b5e6-96231b3b80d8
Fix Makefile.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@177507 91177308-0d34-0410-b5e6-96231b3b80d8
Updating branches/google/testing to r177703

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/branches/google/testing@177979 91177308-0d34-0410-b5e6-96231b3b80d8