]> granicus.if.org Git - clang/commitdiff
[cleanup] Remove excessive padding from TextTokenRetokenizer::Position
authorAlexander Shaposhnikov <shal1t712@gmail.com>
Tue, 20 Sep 2016 18:32:48 +0000 (18:32 +0000)
committerAlexander Shaposhnikov <shal1t712@gmail.com>
Tue, 20 Sep 2016 18:32:48 +0000 (18:32 +0000)
Reorder the fields of the struct TextTokenRetokenizer::Position to remove excessive padding.
Test plan: make -j8 check-clang

Differential revision: https://reviews.llvm.org/D24751

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281995 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/CommentParser.cpp

index cb37ec35f4d39d13fc6839a01687a43a25261260..c1c04239f58ebf1a9a035a575da8efb44d2b81c2 100644 (file)
@@ -40,11 +40,11 @@ class TextTokenRetokenizer {
 
   /// A position in \c Toks.
   struct Position {
-    unsigned CurToken;
     const char *BufferStart;
     const char *BufferEnd;
     const char *BufferPtr;
     SourceLocation BufferStartLoc;
+    unsigned CurToken;
   };
 
   /// Current position in Toks.