]> granicus.if.org Git - clang/commit
[Sema] Fix build with GCC
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 1 Jan 2018 17:07:23 +0000 (17:07 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 1 Jan 2018 17:07:23 +0000 (17:07 +0000)
commit5f6d6d73da77174428971d53d68524da45e467c3
tree5f6e03fd11e9e654b18532fcf2770a2ddc3f98ab
parent6450af4a6a158ad37db5d7b5c1b982380d0dd54b
[Sema] Fix build with GCC

tools/clang/lib/Sema/DeclSpec.cpp: In member function 'void clang::DeclSpec::Finish(clang::Sema&, const clang::PrintingPolicy&)':
tools/clang/lib/Sema/DeclSpec.cpp:1116:8: error: could not convert 'clang::DeclSpec::TSW_unspecified' from 'const TSW {aka const clang::TypeSpecifierWidth}' to 'int'
tools/clang/lib/Sema/DeclSpec.cpp:1117:8: error: could not convert 'clang::DeclSpec::TSW_short' from 'const TSW {aka const clang::TypeSpecifierWidth}' to 'int'
tools/clang/lib/Sema/DeclSpec.cpp:1118:8: error: could not convert 'clang::DeclSpec::TSW_longlong' from 'const TSW {aka const clang::TypeSpecifierWidth}' to 'int'
tools/clang/lib/Sema/DeclSpec.cpp:1128:8: error: could not convert 'clang::DeclSpec::TSW_long' from 'const TSW {aka const clang::TypeSpecifierWidth}' to 'int'

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