[PATCH] D146764: [clang] Make predefined expressions string literals under -fms-extensions
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 9 10:30:23 PDT 2023
aeubanks reopened this revision.
aeubanks added a comment.
This revision is now accepted and ready to land.
the following crashes with this patch:
struct StringRef {
StringRef(const char *);
};
template <typename T>
StringRef getTypeName() {
StringRef s = __func__;
}
`clang -cc1 -fms-extensions -std=c++17 -x c++ a.cpp -fsyntax-only`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146764/new/
https://reviews.llvm.org/D146764
More information about the cfe-commits
mailing list