diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2023-06-29 02:04:31 +0700 |
---|---|---|
committer | Serge Pavlov <sepavloff@gmail.com> | 2023-06-29 02:07:41 +0700 |
commit | 82a3969d710f5fb7a2ee4c9afadb648653923fef (patch) | |
tree | 49932d83f6e3d7f0b93b189ba52ebbb073c7fce0 /clang/lib/Parse/ParseTemplate.cpp | |
parent | bf8e92c0e792cbe3c9cc50607a1e33c6912ffd0e (diff) | |
download | llvm-82a3969d710f5fb7a2ee4c9afadb648653923fef.zip llvm-82a3969d710f5fb7a2ee4c9afadb648653923fef.tar.gz llvm-82a3969d710f5fb7a2ee4c9afadb648653923fef.tar.bz2 |
Revert "[Clang] Reset FP options before function instantiations"
This reverts commit 98390ccb80569e8fbb20e6c996b4b8cff87fbec6.
It caused issue #63542.
Diffstat (limited to 'clang/lib/Parse/ParseTemplate.cpp')
-rw-r--r-- | clang/lib/Parse/ParseTemplate.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Parse/ParseTemplate.cpp b/clang/lib/Parse/ParseTemplate.cpp index 776c66b..d2e8a81 100644 --- a/clang/lib/Parse/ParseTemplate.cpp +++ b/clang/lib/Parse/ParseTemplate.cpp @@ -1742,10 +1742,6 @@ void Parser::ParseLateTemplatedFuncDef(LateParsedTemplate &LPT) { Actions.PushDeclContext(Actions.getCurScope(), DC); } - // Parsing should occur with empty FP pragma stack and FP options used in the - // point of the template definition. - Actions.resetFPOptions(LPT.FPO); - assert(!LPT.Toks.empty() && "Empty body!"); // Append the current token at the end of the new token stream so that it |