Preserve carriage return when using clang-format's XML interface.

Patch by James Park.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196265 91177308-0d34-0410-b5e6-96231b3b80d8
Create a separate file for JS-specific unit tests.

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits, klimek

Differential Revision: http://llvm-reviews.chandlerc.com/D2307

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196266 91177308-0d34-0410-b5e6-96231b3b80d8
Typo caught by Alp Toker: s/appertain/appertains

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196273 91177308-0d34-0410-b5e6-96231b3b80d8
Check IR instead of assembly in this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196275 91177308-0d34-0410-b5e6-96231b3b80d8
Check IR in this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196276 91177308-0d34-0410-b5e6-96231b3b80d8
Check IR in this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196277 91177308-0d34-0410-b5e6-96231b3b80d8
Check IR in this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196278 91177308-0d34-0410-b5e6-96231b3b80d8
check IR in this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196279 91177308-0d34-0410-b5e6-96231b3b80d8
check IR in this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196280 91177308-0d34-0410-b5e6-96231b3b80d8
check IR in this test

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196281 91177308-0d34-0410-b5e6-96231b3b80d8
Check IR on this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196282 91177308-0d34-0410-b5e6-96231b3b80d8
Check IR on this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196284 91177308-0d34-0410-b5e6-96231b3b80d8
Check IR on this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196285 91177308-0d34-0410-b5e6-96231b3b80d8
Check IR on this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196286 91177308-0d34-0410-b5e6-96231b3b80d8
Check IR on this test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196287 91177308-0d34-0410-b5e6-96231b3b80d8
Issue diagnostic when constructor or destructor
return void expression. // rdar://15366494
pr17759.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196296 91177308-0d34-0410-b5e6-96231b3b80d8
clang-format: Improve clang-format's documentation of ColumnLimit=0.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196297 91177308-0d34-0410-b5e6-96231b3b80d8
CMake: enable building the clang-format vs plugin

This makes it possible to build the clang-format vs plugin from the cmake build.
It is a hack, as it shells out to "devenv" to actually build it, but it's hidden
away in a corner behind a flag, and it provides a convenient way of building the
plug-in from the command-line together with the rest of clang.

Differential Revision: http://llvm-reviews.chandlerc.com/D2310

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196299 91177308-0d34-0410-b5e6-96231b3b80d8
Fix corner case in module-based layering warning.

Before, there SourceManager would not return a FileEntry for a
SourceLocation of a macro expansion (if the header name itself is
defined in a macro). We'd then fallback to assume that the module
currently being built is the including module. However, in this case we
are actually interested in the spelling location of the filename loc in
order to derive the including module.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196311 91177308-0d34-0410-b5e6-96231b3b80d8
[objc] Introduce attribute 'objc_designated_initializer'.

It only applies to methods of init family in an interface declaration.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196314 91177308-0d34-0410-b5e6-96231b3b80d8