PP: Rationalize return values of MacroExpand.
This results in better error recovery, including fewer crashes on badly formed PP input.
This commit is contained in:
1
gtests/Pp.FromFile.cpp
Normal file → Executable file
1
gtests/Pp.FromFile.cpp
Normal file → Executable file
@@ -50,6 +50,7 @@ TEST_P(PreprocessingTest, FromFile)
|
||||
INSTANTIATE_TEST_CASE_P(
|
||||
Glsl, PreprocessingTest,
|
||||
::testing::ValuesIn(std::vector<std::string>({
|
||||
"preprocessor.bad_arg.vert",
|
||||
"preprocessor.cpp_style_line_directive.vert",
|
||||
"preprocessor.cpp_style___FILE__.vert",
|
||||
"preprocessor.edge_cases.vert",
|
||||
|
||||
Reference in New Issue
Block a user