summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-19 07:18:12 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-19 07:18:12 +0000
commit7967fc14b912d9e355570f1f9db8ccb7d7518d94 (patch)
tree98b80fd825ad870c307c45f4dc0839998cb17f98 /clang/lib/Lex/ModuleMap.cpp
parentc467933dc723c3fff94fd1464c3870dca512d999 (diff)
downloadbcm5719-llvm-7967fc14b912d9e355570f1f9db8ccb7d7518d94.tar.gz
bcm5719-llvm-7967fc14b912d9e355570f1f9db8ccb7d7518d94.zip
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future.
llvm-svn: 170500
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
-rw-r--r--clang/lib/Lex/ModuleMap.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index b815400754d..3f8af8790a4 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -655,8 +655,8 @@ namespace clang {
};
/// \brief The set of attributes that can be attached to a module.
- struct Attributes {
- Attributes() : IsSystem() { }
+ struct Attribute {
+ Attribute() : IsSystem() { }
/// \brief Whether this is a system module.
unsigned IsSystem : 1;
@@ -709,7 +709,7 @@ namespace clang {
void parseUmbrellaDirDecl(SourceLocation UmbrellaLoc);
void parseExportDecl();
void parseInferredModuleDecl(bool Framework, bool Explicit);
- bool parseOptionalAttributes(Attributes &Attrs);
+ bool parseOptionalAttributes(Attribute &Attrs);
const DirectoryEntry *getOverriddenHeaderSearchDir();
@@ -1007,7 +1007,7 @@ void ModuleMapParser::parseModuleDecl() {
SourceLocation ModuleNameLoc = Id.back().second;
// Parse the optional attribute list.
- Attributes Attrs;
+ Attribute Attrs;
parseOptionalAttributes(Attrs);
// Parse the opening brace.
@@ -1475,7 +1475,7 @@ void ModuleMapParser::parseInferredModuleDecl(bool Framework, bool Explicit) {
}
// Parse optional attributes.
- Attributes Attrs;
+ Attribute Attrs;
parseOptionalAttributes(Attrs);
if (ActiveModule) {
@@ -1576,7 +1576,7 @@ void ModuleMapParser::parseInferredModuleDecl(bool Framework, bool Explicit) {
/// \param Attrs Will be filled in with the parsed attributes.
///
/// \returns true if an error occurred, false otherwise.
-bool ModuleMapParser::parseOptionalAttributes(Attributes &Attrs) {
+bool ModuleMapParser::parseOptionalAttributes(Attribute &Attrs) {
bool HadError = false;
while (Tok.is(MMToken::LSquare)) {
OpenPOWER on IntegriCloud