]> granicus.if.org Git - clang/commit
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)
commit47e160c4ac62f7354755fe6063896fba58e9a71d
tree153d9a7dbd29d2a8066d5010a7402f66a5af15a9
parent2820e364b6ed397904d49a9cbfbc27f395cfacff
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!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@279946 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/CommentSema.cpp