aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Sema/integer-overflow.c
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-05-01 22:10:47 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-05-01 22:10:47 +0000
commitea74148f9f7156a638a913b22ef1beb9a5ece672 (patch)
treef3a58f19dad35181b825639972f0c37f0c40d8dd /clang/test/Sema/integer-overflow.c
parent60cff50b27f78e3f582be9e1ec073878412921f2 (diff)
downloadllvm-ea74148f9f7156a638a913b22ef1beb9a5ece672.zip
llvm-ea74148f9f7156a638a913b22ef1beb9a5ece672.tar.gz
llvm-ea74148f9f7156a638a913b22ef1beb9a5ece672.tar.bz2
Fix initial diagnostic state setup for an explicit module with no diagnostic pragmas.
If a file has no diagnostic pragmas, we build its diagnostic state lazily, but in this case we never set up the root state to be the diagnostic state in which the module was originally built, so the diagnostic flags for files in the module with no diagnostic pragmas were incorrectly based on the user of the module rather than the diagnostic state when the module was built. llvm-svn: 301846
Diffstat (limited to 'clang/test/Sema/integer-overflow.c')
0 files changed, 0 insertions, 0 deletions