mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 06:21:04 +01:00
Add C++ compile benchmarking (#7220)
We had source generation support for some time, but needed to get all the runtimes set up correctly so that standard library headers are available. Now that this is in place, we can benchmark both languages. Also fixes a bug in the C++ source generation causing compile failures. Assisted-by: Antigravity with Gemini
This commit is contained in:
@@ -467,8 +467,9 @@ static auto IdentifierChars() -> llvm::ArrayRef<char> {
|
||||
}
|
||||
|
||||
static constexpr llvm::StringRef NonCarbonCppKeywords[] = {
|
||||
"asm", "do", "double", "float", "int", "long", "new", "signed",
|
||||
"std", "try", "unix", "unsigned", "xor", "NAN", "M_E", "M_PI",
|
||||
"asm", "catch", "do", "double", "float", "int", "long", "new",
|
||||
"operator", "signed", "std", "this", "throw", "try", "typename", "unix",
|
||||
"unsigned", "using", "xor", "M_E", "M_El", "M_PI", "NAN", "NULL",
|
||||
};
|
||||
|
||||
// Returns a random identifier string of the specified length.
|
||||
|
||||
Reference in New Issue
Block a user