]> granicus.if.org Git - clang/commit
Modules: Simplify the ModuleFile constructor; likely NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 29 Jan 2017 00:39:09 +0000 (00:39 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 29 Jan 2017 00:39:09 +0000 (00:39 +0000)
commit0da88cf858ae543ca6d79451013c80cc2b4b3de6
treef0a5792b347164e25fca390c0b7b1062ff7a3e11
parent65a6eb20b74183b299770c5a5c07d9159ce8a571
Modules: Simplify the ModuleFile constructor; likely NFC

Zero-initialize ModuleFile members directly in the class definition, and
move the (now uninteresting) constructor into the class definition.

There were a few members that weren't being initialized at all.  I
zero-initialized them for consistency, but it's likely that they were
somehow initialized before their first use; i.e., there's likely no
functionality change here.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293404 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/Module.h
lib/Serialization/Module.cpp