AST: improve layout of SimpleTypoCorrector
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 28 Aug 2016 21:33:30 +0000 (21:33 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 28 Aug 2016 21:33:30 +0000 (21:33 +0000)
commit61c0b0c32a0a14003f65c84d3bceec7eb3c10c3d
treeaaf89ffeffc3125863c22ae3083ae2fc57f963c7
parent2fc65041beabcb4c970deeb8ece010c10b0b40f9
AST: improve layout of SimpleTypoCorrector

Add the "explicit" specifier to the single-argument constructor of
SimpleTypoCorrector.  Reorder the fields to remove excessive padding (8 bytes).

Patch by Alexander Shaposhnikov!

llvm-svn: 279946
clang/lib/AST/CommentSema.cpp