llvm.org GIT mirror llvm / 88b3a68
Parse " (Hidden)" and cope with it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112265 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 9 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
154154 let l:value = l:value[:l:spacecolonspace-1]
155155 endif
156156
157 " Chop off " (Hidden)", if present, and move it to the menu.
158 let l:hidden = stridx(l:value, " (Hidden)")
159 if l:hidden != -1
160 let l:menu .= " (Hidden)"
161 let l:value = l:value[:l:hidden-1]
162 endif
163
157164 " Handle Pattern. TODO: Make clang less weird.
158165 if l:value == "Pattern"
159166 let l:value = l:menu