Commit c17b8200 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

minor fix for pragmahandler seg fault


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 3dbd5344
...@@ -66,6 +66,9 @@ protected: ...@@ -66,6 +66,9 @@ protected:
ParseAST(CI.getSema()); ParseAST(CI.getSema());
for (auto& p : pragmaHandlers) {
CI.getSema().getPreprocessor().RemovePragmaHandler(p.get());
}
CI.getDiagnosticClient().EndSourceFile(); CI.getDiagnosticClient().EndSourceFile();
std::string outName(fileName); std::string outName(fileName);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment