Skip to content
Snippets Groups Projects
  • Axel Naumann's avatar
    e55329d6
    From Vassil Vassilev: · e55329d6
    Axel Naumann authored
    Enable incremental parsing by the Preprocessor,
    where more code can be provided after an EOF.
    It mainly prevents the tearing down of the topmost lexer.
    To be used like this:
    PP.enableIncrementalProcessing();
    while (getMoreSource()) {
      while (Parser.ParseTopLevelDecl(ADecl)) {...}
    }
    PP.enableIncrementalProcessing(false);
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152914 91177308-0d34-0410-b5e6-96231b3b80d8
    e55329d6
    History
    From Vassil Vassilev:
    Axel Naumann authored
    Enable incremental parsing by the Preprocessor,
    where more code can be provided after an EOF.
    It mainly prevents the tearing down of the topmost lexer.
    To be used like this:
    PP.enableIncrementalProcessing();
    while (getMoreSource()) {
      while (Parser.ParseTopLevelDecl(ADecl)) {...}
    }
    PP.enableIncrementalProcessing(false);
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152914 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.