[PATCH] D124749: [clang-format] Handle Verilog preprocessor directives
    sstwcw via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Jun  9 20:50:45 PDT 2022
    
    
  
sstwcw updated this revision to Diff 435788.
sstwcw added a comment.
- add `kw_` prefix to symbols treated as keywords
- use lambda instead of breaking
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124749/new/
https://reviews.llvm.org/D124749
Files:
  clang/lib/Format/FormatToken.h
  clang/lib/Format/FormatTokenLexer.cpp
  clang/lib/Format/FormatTokenLexer.h
  clang/lib/Format/TokenAnnotator.cpp
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/unittests/Format/FormatTestVerilog.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124749.435788.patch
Type: text/x-patch
Size: 31049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220610/3880d17c/attachment-0001.bin>
    
    
More information about the cfe-commits
mailing list