Reorder ParsedTemplateArg's members to reduce padding on x86_64.

llvm-svn: 158275
This commit is contained in:
Benjamin Kramer 2012-06-09 15:15:27 +00:00
parent 36a978cca2
commit 8ea1fe028c
1 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ namespace clang {
SourceLocation TemplateLoc)
: Kind(ParsedTemplateArgument::Template),
Arg(Template.getAsOpaquePtr()),
Loc(TemplateLoc), SS(SS), EllipsisLoc() { }
SS(SS), Loc(TemplateLoc), EllipsisLoc() { }
/// \brief Determine whether the given template argument is invalid.
bool isInvalid() const { return Arg == 0; }
@ -118,13 +118,13 @@ namespace clang {
/// expression), or an ActionBase::TemplateTy (for a template).
void *Arg;
/// \brief the location of the template argument.
SourceLocation Loc;
/// \brief The nested-name-specifier that can accompany a template template
/// argument.
CXXScopeSpec SS;
/// \brief the location of the template argument.
SourceLocation Loc;
/// \brief The ellipsis location that can accompany a template template
/// argument (turning it into a template template argument expansion).
SourceLocation EllipsisLoc;