]> granicus.if.org Git - clang/commit
Store list of undefined-but-used objects in a deterministic order to fix
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 25 Mar 2016 21:49:43 +0000 (21:49 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 25 Mar 2016 21:49:43 +0000 (21:49 +0000)
commitfff3553f38ef98f6fb6bad4adbbb78d526bfcc0b
tree290cb6b838f82cc48db81fb768c75530ab21cc86
parent99106d08711aa5b6c3fa0741d2075e63ed4426ee
Store list of undefined-but-used objects in a deterministic order to fix
non-deterministic diagnostics (and non-deterministic PCH files). Check these
when building a module rather than serializing it; it's not reasonable for a
module's use to be satisfied by a definition in the user of the module.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264466 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ExternalSemaSource.h
include/clang/Sema/MultiplexExternalSemaSource.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTReader.h
lib/Sema/MultiplexExternalSemaSource.cpp
lib/Sema/Sema.cpp
lib/Serialization/ASTReader.cpp
test/SemaCXX/diagnostic-order.cpp