Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
qcor
Commits
c17b8200
Commit
c17b8200
authored
Jul 10, 2019
by
Mccaskey, Alex
Browse files
minor fix for pragmahandler seg fault
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
3dbd5344
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/clang/qcor-driver.in.cpp
View file @
c17b8200
...
...
@@ -66,6 +66,9 @@ protected:
ParseAST
(
CI
.
getSema
());
for
(
auto
&
p
:
pragmaHandlers
)
{
CI
.
getSema
().
getPreprocessor
().
RemovePragmaHandler
(
p
.
get
());
}
CI
.
getDiagnosticClient
().
EndSourceFile
();
std
::
string
outName
(
fileName
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment