forked from OSchip/llvm-project
Recognize the "default" keyword, which is documented in LangRef.html
and supported in the grammar, in the lexer. llvm-svn: 51448
This commit is contained in:
parent
5d30975e5e
commit
298a1d6d5f
|
@ -452,6 +452,7 @@ int LLLexer::LexIdentifier() {
|
||||||
KEYWORD("dllimport", DLLIMPORT);
|
KEYWORD("dllimport", DLLIMPORT);
|
||||||
KEYWORD("dllexport", DLLEXPORT);
|
KEYWORD("dllexport", DLLEXPORT);
|
||||||
KEYWORD("common", COMMON);
|
KEYWORD("common", COMMON);
|
||||||
|
KEYWORD("default", DEFAULT);
|
||||||
KEYWORD("hidden", HIDDEN);
|
KEYWORD("hidden", HIDDEN);
|
||||||
KEYWORD("protected", PROTECTED);
|
KEYWORD("protected", PROTECTED);
|
||||||
KEYWORD("extern_weak", EXTERN_WEAK);
|
KEYWORD("extern_weak", EXTERN_WEAK);
|
||||||
|
|
Loading…
Reference in New Issue