[Polly] Add -std=c99 flag only to C source files
commit1ca2d9183fe2169ba2d9228f979fe70c4d174ddb
authorMichael Kruse <llvm@meinersbur.de>
Mon, 29 Jun 2015 19:57:59 +0000 (29 19:57 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Mon, 29 Jun 2015 19:57:59 +0000 (29 19:57 +0000)
tree1715fdf5082a00d3cc126c6668e5ef43d7dfda3c
parent5b7151612099a468c628016a6c2659953e08300a
[Polly] Add -std=c99 flag only to C source files

Summary: Adding the flag to C++ source files emits a warning, hence we set the compile flag depending on the file's language.

Reviewers: grosser

Subscribers: Meinersbur, pollydev, llvm-commits

Projects: #polly

Differential Revision: http://reviews.llvm.org/D10809

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@240986 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/polly_macros.cmake