]> granicus.if.org Git - clang/commit
Format: support inline namespaces
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Oct 2015 05:07:56 +0000 (05:07 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Oct 2015 05:07:56 +0000 (05:07 +0000)
commitbec01a5ecd7c0576db923590440d030eafd9e17a
treede5699feb23ea31a6b480ceeefab846bc868ab6d
parentc44656ede6261bb1dfebeadf57d3d4bfbd45f0d4
Format: support inline namespaces

Correct handling for C++17 inline namespaces.  We would previously fail to
identify the inline namespaces as a namespace name since multiple ones may be
concatenated now with C++17.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251690 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTest.cpp