diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Format/TokenAnnotator.h')
| -rw-r--r-- | contrib/llvm-project/clang/lib/Format/TokenAnnotator.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/llvm-project/clang/lib/Format/TokenAnnotator.h b/contrib/llvm-project/clang/lib/Format/TokenAnnotator.h index 702ac6c0d76e..537710029b00 100644 --- a/contrib/llvm-project/clang/lib/Format/TokenAnnotator.h +++ b/contrib/llvm-project/clang/lib/Format/TokenAnnotator.h @@ -114,8 +114,7 @@ public: /// \c true if this line starts a namespace definition. bool startsWithNamespace() const { - return startsWith(tok::kw_namespace) || - startsWith(TT_NamespaceMacro) || + return startsWith(tok::kw_namespace) || startsWith(TT_NamespaceMacro) || startsWith(tok::kw_inline, tok::kw_namespace) || startsWith(tok::kw_export, tok::kw_namespace); } |
