diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-02-05 11:40:59 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-02-05 11:40:59 +0000 |
commit | fb7b4aa45a233e54711307f3d7c50a9848d5784f (patch) | |
tree | 3384daae565e1df75af60fe9503d3f4a27262a4f /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | |
parent | 4f4546b73abd417cb2fa3814d9c15461bb553b19 (diff) | |
download | bcm5719-llvm-fb7b4aa45a233e54711307f3d7c50a9848d5784f.tar.gz bcm5719-llvm-fb7b4aa45a233e54711307f3d7c50a9848d5784f.zip |
[clang.py] Implement __eq__ and __ne__ on SourceLocation and SourceRange
There is no type checking in __eq__, so ctypes will throw if the wrong
Python type is passed in to the C function. Personally, I feel garbage
in means garbage out and it isn't worth testing for this explicitly.
Contributed by: Gregory Szorc <gregory.szorc@gmail.com>
llvm-svn: 149824
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions