[all-commits] [llvm/llvm-project] 24f4c3: Lex: add a callback for	`#pragma mark`
    Saleem Abdulrasool via All-commits 
    all-commits at lists.llvm.org
       
    Fri Jul  2 15:44:45 PDT 2021
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24f4c3ebef63c7d2553132d7d9d75ea19338bcb7
      https://github.com/llvm/llvm-project/commit/24f4c3ebef63c7d2553132d7d9d75ea19338bcb7
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2021-07-02 (Fri, 02 Jul 2021)
  Changed paths:
    M clang/include/clang/Lex/PPCallbacks.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/lib/Lex/Pragma.cpp
    M clang/unittests/Lex/PPCallbacksTest.cpp
  Log Message:
  -----------
  Lex: add a callback for `#pragma mark`
Allow a preprocessor observer to be notified of mark pragmas.  Although
this does not impact code generation in any way, it is useful for other
clients, such as clangd, to be able to identify any marked regions.
Reviewed By: dgoldman
Differential Revision: https://reviews.llvm.org/D105368
    
    
More information about the All-commits
mailing list