Making type_tag_for_datatype consistent with its declared subject from Attr.td. Also updated the related testcase.

Reviewed by Dmitri Gribenko.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195675 91177308-0d34-0410-b5e6-96231b3b80d8
Make the integrated assembler the default for cygwin/mingw too.

The integrated assembler was already the default for win32. It is now able
to handle a clang bootstrap on mingw, so make it the default.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195676 91177308-0d34-0410-b5e6-96231b3b80d8
PR18044: Reject declarations of enumtype::X early to avoid an assertion in
downstream code.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195687 91177308-0d34-0410-b5e6-96231b3b80d8
Clang format VS plugin: update build prerequisites in the README

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


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195703 91177308-0d34-0410-b5e6-96231b3b80d8
Unbreak -fms-extensions with GNU libc headers

GNU libc uses '__uptr' as a member name in C mode, conflicting with the
eponymous MSVC pointer modifier keyword.

Detect and mark the token as an identifier when these specific conditions are
met. __uptr will continue to work as a keyword for the remainder of the
translation unit.

Fixes PR17824.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195710 91177308-0d34-0410-b5e6-96231b3b80d8
Remove some unused locals

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195714 91177308-0d34-0410-b5e6-96231b3b80d8
Fix crash in getStringSplit.

Summary:
getStringSplit used to crash, when trying to split a long string
literal containing both printable and unprintable multi-byte UTF-8 characters.

Reviewers: djasper, klimek

Reviewed By: djasper

CC: cfe-commits, klimek

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195728 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Call findMIPSABIDirSuffix() for MIPS targets only.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195750 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Do not detect a used MIPS toolchain. Build a path suffix for FSF
toolchain first and check the path existence. If the path does not
exist build and check a path suffix for Code Sourcery toolchain.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195751 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Merge two MIPS Code Sourcery toolchain tests into the single one.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195752 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Add support for nan2008 libraries and headers look up for Code
Sourcery MIPS toolchain.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195753 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Reduce number of FileCheck variables used in the tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195754 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Replace explicit argument handling by the single ArgList::AddLastArg() call.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195755 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Pass -mmsa option to the assembler.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195760 91177308-0d34-0410-b5e6-96231b3b80d8
Changed non-printable characters in the test to the escaped form. Apparently, not all tools display non-printable characters ;)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195761 91177308-0d34-0410-b5e6-96231b3b80d8
Move these virtual methods out of line.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195767 91177308-0d34-0410-b5e6-96231b3b80d8
Don't call getMostRecentDecl when we know we have it.

On a Release build this takes the testcase in pr18055 from 0m3.892s to 0m1.452s.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195768 91177308-0d34-0410-b5e6-96231b3b80d8
Replacing a custom diagnostic with a more standard one. No functional change intended.

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