]> granicus.if.org Git - clang/commit
Move MS predefined type_info out of InitializePredefinedMacros
authorAlp Toker <alp@nuanti.com>
Sat, 4 Jan 2014 15:25:02 +0000 (15:25 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 4 Jan 2014 15:25:02 +0000 (15:25 +0000)
commit933058820ec7d914af0fa027bb302a7694dcf2dd
tree903d01cfb208382770b156607b78a95f6b99e5f0
parent759afce785b0c84f33746cae0ef8a748ef93ead0
Move MS predefined type_info out of InitializePredefinedMacros

Instead of keeping it in amongst the macros, build the declaration at Sema init
the same way we do with other predeclared and builtin types.

In practice this means the declaration is marked implicit and therefore won't
show up as an unwanted user-declared type in tooling which has been a
frequently reported issue (though I haven't been able to cook up a test).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198497 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/InitPreprocessor.cpp
lib/Sema/Sema.cpp