aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopInfo.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-01-13 02:22:01 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-01-13 02:22:01 +0000
commit8210ed558662bd80f16bc96e482974120d2ca2bd (patch)
tree8cf39a448668eefe9889917924585318c2ca93a2 /llvm/lib/Analysis/LoopInfo.cpp
parent8515875e24831bda1ca3086da17163836100d30b (diff)
downloadllvm-8210ed558662bd80f16bc96e482974120d2ca2bd.zip
llvm-8210ed558662bd80f16bc96e482974120d2ca2bd.tar.gz
llvm-8210ed558662bd80f16bc96e482974120d2ca2bd.tar.bz2
Implement DR1265 (wg21.link/cwg1265).
Diasllow a declaration using the 'auto' type specifier from using two different meanings of it at once, or from declaring multiple functions with deduced return types or introducing multiple trailing return types. The standard does not technically disallow the multiple trailing return types case if all the declarators declare variables (such as function pointers with trailing return types), but we disallow that too, following the clear intent. llvm-svn: 291880
Diffstat (limited to 'llvm/lib/Analysis/LoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions