PCH compilation now serializes document links and stores them in PCHState. The master server merges PCH links with main-file links on DocumentLink requests, fixing missing links for includes inside the preamble. Also adds document link support for #embed and __has_embed directives. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
159 B
C++
13 lines
159 B
C++
#include "header_a.h"
|
|
#include "header_b.h"
|
|
int x = 1;
|
|
#include "header_c.h"
|
|
|
|
const char data[] = {
|
|
#embed "data.bin"
|
|
};
|
|
|
|
int main() {
|
|
return a + b + c;
|
|
}
|