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
Thread safety analysis: fix ICE due to missing null check on dyn_cast.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195777 91177308-0d34-0410-b5e6-96231b3b80d8
[AArch64] Add support for NEON scalar floating-point to integer convert
instructions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195789 91177308-0d34-0410-b5e6-96231b3b80d8
Remove unused entity from .td file.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195792 91177308-0d34-0410-b5e6-96231b3b80d8
Documentation cleanup: Doxygen-ification, typo fixes, and changing some of
the duplicated documentation from .cpp files so that it's not processed by
Doxygen and hence doesn't generate duplicate output.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195799 91177308-0d34-0410-b5e6-96231b3b80d8
Fix the build break introduced by r195799 by restoring two close
curlies.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195802 91177308-0d34-0410-b5e6-96231b3b80d8
[AArch64] Add support for NEON scalar floating-point absolute difference.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195804 91177308-0d34-0410-b5e6-96231b3b80d8
Remove 'DistinctSpellings' support from Attr.td and change its only user to
look at the attribute spelling instead. The 'ownership_*' attributes should
probably be split into separate *Attr classes, but that's more than I wanted to
do here.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195805 91177308-0d34-0410-b5e6-96231b3b80d8
Implement -Wold-style-cast

Based on a patch by Ondřej Hošek!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195808 91177308-0d34-0410-b5e6-96231b3b80d8
Unify lookup from within not-yet-defined defaulted special members: use common
code for handling triviality, deletedness and constexpr. Fix a few bugs in
these, particularly related to mutable members, and remove some dead code.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195809 91177308-0d34-0410-b5e6-96231b3b80d8
Add a triple to fix this test on Windows

The warning from cmake-clang-x64-msc16-R was:

  test\SemaCXX\old-style-cast.cpp Line 6: cast to 'void **' from smaller integer type 'long'

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195813 91177308-0d34-0410-b5e6-96231b3b80d8
Remove a whole lot of unused variables

There are about 30 removed in this patch, generated by a new FixIt I haven't
got round to submitting yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195814 91177308-0d34-0410-b5e6-96231b3b80d8
[libclang] Make sure we don't access past the tokens buffer while token annotation.

Also disable crash recovery using 'LIBCLANG_DISABLE_CRASH_RECOVERY' environment variable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195819 91177308-0d34-0410-b5e6-96231b3b80d8
Sema: Instantiate local class and their members appropriately

We would fail to instantiate them when the surrounding function was
instantiated. Instantiate the class and add it's members to the list of
pending instantiations, they should be resolved when we are finished
with the function's body.

This fixes PR9685.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195827 91177308-0d34-0410-b5e6-96231b3b80d8
[Sema] Don't look for the instantiation of a local extern decl in a different
dependent context that the one we are instantiating, otherwise there will be an assertion.

rdar://15464547

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195828 91177308-0d34-0410-b5e6-96231b3b80d8
[libclang] Check for LIBCLANG_DISABLE_CRASH_RECOVERY before enabling crash recovery.

Suggested by Alp Toker.

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