diff options
author | Dale Johannesen <dalej@apple.com> | 2009-08-26 01:08:21 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-08-26 01:08:21 +0000 |
commit | de86d473fcc18fe769fa9edb075984880ef1a015 (patch) | |
tree | 3abd3fea11f095755a9ddb18abea48e164d14985 /lib/AsmParser/LLLexer.cpp | |
parent | 8af76bdb7450b097efa17f7c192882111a9e8f10 (diff) |
Add an 'inline hint' attribute to represent source
code hints that it would be a good idea to inline
a function ("inline" keyword). No functional change
yet; FEs do not emit this and inliner does not use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLLexer.cpp')
-rw-r--r-- | lib/AsmParser/LLLexer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp index 8d6b5dbb13..23d7f19bbc 100644 --- a/lib/AsmParser/LLLexer.cpp +++ b/lib/AsmParser/LLLexer.cpp @@ -556,6 +556,7 @@ lltok::Kind LLLexer::LexIdentifier() { KEYWORD(readnone); KEYWORD(readonly); + KEYWORD(inlinehint); KEYWORD(noinline); KEYWORD(alwaysinline); KEYWORD(optsize); |