[all-commits] [llvm/llvm-project] e881d8: Allow interfaces to operate on in-memory buffers w...

Tapasweni Pathak via All-commits all-commits at lists.llvm.org
Sun Jun 26 06:46:56 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e881d85371bf9b024e0668f1667fefde4df05711
  Author: Tapasweni Pathak <tapaswenipathak at gmail.com>
  Date:   2022-06-26 (Sun, 26 Jun 2022)

  Changed paths:
    M clang/include/clang/Basic/SourceManager.h
    M clang/unittests/Basic/SourceManagerTest.cpp

  Log Message:
  Allow interfaces to operate on in-memory buffers with no source location info.

This patch is a part of the upstreaming efforts. Cling has the ability to spawn
child interpreters (mainly for auto completions). The child interpreter import
Decls using the ASTImporter which casuses the assertion here

The patch is co-developed with V. Vassilev.

Differential revision: https://reviews.llvm.org/D88780

More information about the All-commits mailing list