aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/ASTUnit.cpp
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-02-05 17:53:48 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-02-05 17:53:48 +0000
commitff090ca42aa319e1bbdde38b3940219ea11e07b3 (patch)
treee5a6fcd8bf379f7065ca9156665675d3ae4eb4f4 /lib/Frontend/ASTUnit.cpp
parent4ed73ce03bbdc56692f3bc232cb64632dc9dbc0f (diff)
python bindings: Use python Diagnostics as function arguments
This improves the readability of the code and fixes one testsuite bug. The bug happend, because we only stored the pointer to the diagnostic in the FixIt iterator, but not the python Diagnostic object. So it could happen that the FixIt iterator still exists, but the python Diagnostic object is freed. However, as the python Diagnostic is freed the pointer to the diagnostic is also freed and the FixIt iterator is referencing a freed pointer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions