[modules] Attach dependency listeners to the module manager once when it's
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 9 Aug 2015 02:28:42 +0000 (02:28 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 9 Aug 2015 02:28:42 +0000 (02:28 +0000)
commit03f7e611c625de0b5509ee975ca01ff95525a7b6
tree1361f19a71d801315b085794693461bdc20867d6
parentd9a0e64f66760ef146f97a4c2208e7a187d9a00e
[modules] Attach dependency listeners to the module manager once when it's
created, rather than creating and attaching a new listener each time we load a
module file (yes, the old ones were kept around too!). No functionality change
intended, but a bit more sanity.

llvm-svn: 244411
clang/lib/Frontend/CompilerInstance.cpp