[PATCH] D137720: Migrate getOrCreateInternalVariable from Clang to OMPIRBuilder.
    Akash Banerjee via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Nov 14 06:01:01 PST 2022
    
    
  
TIFitis added inline comments.
================
Comment at: llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h:1729
+                                              const llvm::StringRef &Name,
+                                              unsigned AddressSpace = 0);
 };
----------------
jdoerfert wrote:
> No `llvm::`. Can you check your future patches for these things, please.
> StringRef is passed by value not reference.
Sure. The current code was inconsistent so I wasn't sure and went with the standard practice of explicitly describing namespace in header files and removed them from cpp files. I'll remove from both going forward :)
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137720/new/
https://reviews.llvm.org/D137720
    
    
More information about the llvm-commits
mailing list