We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46a8ede commit aabc866Copy full SHA for aabc866
clang/lib/Sema/TreeTransform.h
@@ -47,6 +47,7 @@
47
#include "clang/Sema/SemaPseudoObject.h"
48
#include "clang/Sema/SemaSYCL.h"
49
#include "llvm/ADT/ArrayRef.h"
50
+#include "llvm/ADT/STLForwardCompat.h"
51
#include "llvm/Support/ErrorHandling.h"
52
#include <algorithm>
53
#include <optional>
@@ -7256,7 +7257,7 @@ QualType TreeTransform<Derived>::TransformPredefinedSugarType(
7256
7257
QualType Result = TL.getType();
7258
7259
if (getDerived().AlwaysRebuild()) {
- Result = getDerived().RebuildPredefinedSugarType(EIT->getKind());
7260
+ Result = getDerived().RebuildPredefinedSugarType(llvm::to_underlying(EIT->getKind()));
7261
}
7262
7263
PredefinedSugarTypeLoc NewTL = TLB.push<PredefinedSugarTypeLoc>(Result);
0 commit comments