summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2016-09-20 18:32:48 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2016-09-20 18:32:48 +0000
commitc937026e7e4214a8511b6bd0920aeae0206c8fa4 (patch)
tree828cf175757d225eea2137b5a3c76cb6b24f7ad7
parent12fa3b391100edc02ca49444a8d7cd13805c8815 (diff)
downloadbcm5719-llvm-c937026e7e4214a8511b6bd0920aeae0206c8fa4.tar.gz
bcm5719-llvm-c937026e7e4214a8511b6bd0920aeae0206c8fa4.zip
[cleanup] Remove excessive padding from TextTokenRetokenizer::Position
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 llvm-svn: 281995
-rw-r--r--clang/lib/AST/CommentParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/CommentParser.cpp b/clang/lib/AST/CommentParser.cpp
index cb37ec35f4d..c1c04239f58 100644
--- a/clang/lib/AST/CommentParser.cpp
+++ b/clang/lib/AST/CommentParser.cpp
@@ -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.
OpenPOWER on IntegriCloud