[PATCH] D19037: [llvm-c] Add the ability to create debug locations

Alex Denisov via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 21:36:25 PDT 2016


AlexDenisov added a subscriber: AlexDenisov.

================
Comment at: include/llvm-c/Core.h:2790
@@ -2789,1 +2789,3 @@
 /* Metadata */
+LLVMValueRef LLVMCreateDebugLocation(LLVMContextRef C, unsigned Line,
+                                     unsigned Col, const LLVMValueRef Scope,
----------------
Would not it be better to name it `LLVMCreateDILocation`? 
This way other methods from the DI family can be imported consistently.
Just a side note though :)


http://reviews.llvm.org/D19037





More information about the llvm-commits mailing list