Skip to content

Commit 000d97a

Browse files
committed
Fix the uninitlaized ExpandTokPastingArg option.
1 parent 8a35db2 commit 000d97a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/clang/include/clang/Lex/PreprocessorOptions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ class PreprocessorOptions : public RefCountedBase<PreprocessorOptions> {
149149
public:
150150
PreprocessorOptions() : UsePredefines(true), DetailedRecord(false),
151151
IgnoreLineDirectives(false), // HLSL Change - ignore line directives.
152+
ExpandTokPastingArg(false), // HLSL Change - allow pre-expand
152153
DisablePCHValidation(false),
153154
AllowPCHWithCompilerErrors(false),
154155
DumpDeserializedPCHDecls(false),

0 commit comments

Comments
 (0)