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 | 74858335a1a5205b3e1c89ecf9221cea839c0b0b (patch) | |
tree | c1c829ea395c5d9fb0d758b79ea0ce5236c7d2a5 /lib/Frontend/CompilerInvocation.cpp | |
parent | b919815a0caf836e28c49d7253d8949d7ceb24ad (diff) |
[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>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions