diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-30 05:02:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-30 05:02:06 +0000 |
commit | 1d92831759620a2e5ce4f5a3088c0a1a77a48c8f (patch) | |
tree | 418a37040524cfa4797753d7dfe9028c67144118 /lib/AsmParser/LLLexer.cpp | |
parent | e434d277ca5183eeb6f881000732dcf4c8edd52e (diff) |
rename NamedOrCustomMD -> MetadataVar to follow conventions of all the rest of the code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLLexer.cpp')
-rw-r--r-- | lib/AsmParser/LLLexer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp index db8553e191..8ad658d858 100644 --- a/lib/AsmParser/LLLexer.cpp +++ b/lib/AsmParser/LLLexer.cpp @@ -423,10 +423,10 @@ static bool JustWhitespaceNewLine(const char *&Ptr) { } /// LexExclaim: -/// !{...} -/// !42 /// !foo +/// ! lltok::Kind LLLexer::LexExclaim() { + // Lex a metadata name as a MetadataVar. if (isalpha(CurPtr[0])) { ++CurPtr; while (isalnum(CurPtr[0]) || CurPtr[0] == '-' || CurPtr[0] == '$' || @@ -434,7 +434,7 @@ lltok::Kind LLLexer::LexExclaim() { ++CurPtr; StrVal.assign(TokStart+1, CurPtr); // Skip ! - return lltok::NamedOrCustomMD; + return lltok::MetadataVar; } return lltok::exclaim; } |