]> granicus.if.org Git - clang/commit
Revert "[TrailingObjects] Use a different technique to determine if a getDecl"
authorJames Y Knight <jyknight@google.com>
Tue, 29 Dec 2015 04:46:43 +0000 (04:46 +0000)
committerJames Y Knight <jyknight@google.com>
Tue, 29 Dec 2015 04:46:43 +0000 (04:46 +0000)
commita17defeefcbfef958a0f7785665b558e8e260303
tree81b34cb53e8efdc287a7e52e6b3faa819aa72670
parent31781479cbe627d89b4006752aa2c77ce2dddd87
Revert "[TrailingObjects] Use a different technique to determine if a getDecl"

This reverts commit r256534.

Failed to build on MSVC with error:
clang/ASTMatchers/ASTMatchersInternal.h(572): error C2228: left of '.getDecl' must have class/struct/union
        type is 'add_rvalue_reference<_Ty>::type'

(http://lab.llvm.org:8011/builders/lldb-x86-win7-msvc/builds/13873/steps/build/logs/stdio)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256535 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/ASTMatchersInternal.h