mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 02:16:50 +00:00
19765fb68c
Processing update records (and loading a module, in general) might trigger unexpected calls to the ASTWriter (being a mutation listener). Now we have a mechanism to suppress those calls to the ASTWriter but notify other possible mutation listeners. Fixes https://llvm.org/bugs/show_bug.cgi?id=28332 Patch by Cristina Cristescu and me. Reviewed by Richard Smith (D21800). llvm-svn: 276473
9 lines
272 B
C++
9 lines
272 B
C++
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR28332 -verify %s
|
|
// RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR28332/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR28332 -verify %s
|
|
|
|
#include "a.h"
|
|
|
|
// expected-no-diagnostics
|
|
|