[PATCH] D24751: [cleanup] Remove excessive padding from TextTokenRetokenizer::Position

Alexander Shaposhnikov via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 19 19:33:13 PDT 2016

alexshap created this revision.
alexshap added reviewers: gribozavr, craig.topper.
alexshap added a subscriber: cfe-commits.
alexshap set the repository for this revision to rL LLVM.
alexshap changed the visibility of this Differential Revision from "Public (No Login Required)" to "All Users".

Reorder the fields of the struct TextTokenRetokenizer::Position to remove excessive padding.
Test plan: make -j8 check-clang




Index: lib/AST/CommentParser.cpp
--- lib/AST/CommentParser.cpp
+++ lib/AST/CommentParser.cpp
@@ -40,11 +40,11 @@
   /// 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24751.71897.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160920/67a70261/attachment.bin>

More information about the cfe-commits mailing list