]> granicus.if.org Git - clang/commit
Silences gcc's -Wnarrowing.
authorDaniel Jasper <djasper@google.com>
Wed, 3 May 2017 07:48:27 +0000 (07:48 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 3 May 2017 07:48:27 +0000 (07:48 +0000)
commit7992b2b91e973c0f58ba25f101df154d18f842e7
treed48a7c6f546091204328ec9b3a7135a3b22616c0
parentd47d19ceb992e424047bd2b09163816693097efc
Silences gcc's -Wnarrowing.

I think this is a false positive in GCC's warning, but nonetheless, we
should try to be warning-free. Smaller reproducer (reproduces with GCC
6.3):
https://godbolt.org/g/cJuO2z

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTWriter.cpp