PRUNERS / archer

Archer, a data race detection tool for large OpenMP applications
https://pruners.github.io/archer
Apache License 2.0
62 stars 13 forks source link

Change NULL to nullptr for getOrInsertFunction #74

Closed hassansalehe closed 6 years ago

hassansalehe commented 6 years ago

Archer crashes at compile time since getOrInsertFunction does not accept NULL as the last argument in LLVM/Clang versions >= 5.0.0.

I assume this fix is backward-compatible as there is already use of 'nullptr' in the Archer code.

simoatze commented 6 years ago

Thank you @hassansalehe