Fix clank compilation errors in the relocation_packer.
commitf823f6114b49a06e526e83316c427b6e73515c24
authorsimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 27 Jun 2014 20:06:30 +0000 (27 20:06 +0000)
committersimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 27 Jun 2014 20:06:30 +0000 (27 20:06 +0000)
treed2348c0973b0140279fcbea6a5061640553b86ae
parent709460b82db1746b6780ab85aed5c96875422eb6
Fix clank compilation errors in the relocation_packer.

Add nugatory constructor and destructor for Leb128Encoder.  Add nugatory
destructor for Leb128Decoder.  Move constructor for Leb128Decoder from
leb128.h into leb128.c and un-simplify.

Fixes:
  tools/relocation_packer/src/leb128.h:23:1: error: [chromium-style] Complex class/struct needs an explicit out-of-line constructor.
  tools/relocation_packer/src/leb128.h:23:1: error: [chromium-style] Complex class/struct needs an explicit out-of-line destructor.
  tools/relocation_packer/src/leb128.h:47:3: error: [chromium-style] Complex constructor has an inlined body.
  tools/relocation_packer/src/leb128.h:43:1: error: [chromium-style] Complex class/struct needs an explicit out-of-line destructor.

BUG=385553

Review URL: https://codereview.chromium.org/334653008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280388 0039d316-1c4b-4281-b951-d872f2087c98
tools/relocation_packer/src/leb128.cc
tools/relocation_packer/src/leb128.h