-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Open
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillac++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"platform:windows
Description
| Bugzilla Link | 45731 |
| Version | 10.0 |
| OS | Windows NT |
| CC | @AaronBallman,@amccarth-google,@zygoloid,@rnk |
Extended Description
Given the following
src/main.cpp
src/header.h
And the following code:
header.h:
#include <iostream>
void test()
{
std::cout << __builtin_FILE() << '\n';
}main.cpp:
#include "header.h"
int main()
{
test();
std::cout << __builtin_FILE() << '\n';
}I get the following output
src/header.h
src\main.cpp
Discovered this when implementing std::source_location for Microsoft here
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillac++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"platform:windows
Type
Projects
Status
No status