diff options
Diffstat (limited to 'lib/Format/TokenAnnotator.h')
-rw-r--r-- | lib/Format/TokenAnnotator.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Format/TokenAnnotator.h b/lib/Format/TokenAnnotator.h index 702ac6c0d76e7..537710029b00a 100644 --- a/lib/Format/TokenAnnotator.h +++ b/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); } |