Force C89 for c-index-test.c
authorDmitri Gribenko <gribozavr@gmail.com>
Wed, 7 Nov 2012 23:52:25 +0000 (23:52 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Wed, 7 Nov 2012 23:52:25 +0000 (23:52 +0000)
commit9fcad0947c984539f6284665faa3c5dffc4fb789
tree9de21814a2b5fc82f915f598cf013f94c416f444
parente5be9fc1c2207de419c89fb5ec83aab970e8726b
Force C89 for c-index-test.c

MSVC supports only C89, so it is important to keep c-index-test.c
buildable with C89.  However, Clang defaults to C99, so while building
Clang with Clang one can introduce C99 constructs into c-index-test.c
without noticing.

Thanks to Nakamura Takumi for helping with MSVC bits.

llvm-svn: 167561
clang/tools/c-index-test/CMakeLists.txt