mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] When using C style comments, stick to the one line form.
In the rare cases where C style comments are needed sticking with the one line form is preferred to allow for quick comment analysis by simple methods such as: $ git grep -E '(//|/\*.*\*/)' When using the single line form the command above is guaranteed to include all comment content (+ some non-comment content), which greatly simplifies quick comment analysis.
This commit is contained in:
@@ -596,8 +596,7 @@ llvm::Constant *swift::getWrapperFn(llvm::Module &Module,
|
||||
ARGS, ATTRS) \
|
||||
llvm::Constant *IRGenModule::get##ID##Fn() { \
|
||||
using namespace RuntimeConstants; \
|
||||
/* Add an underscore in JIT mode under Linux to enable proper symbol \
|
||||
* lookup */ \
|
||||
/* Add underscore in JIT mode under Linux to enable proper symbol lookup */\
|
||||
const char *Symbol = \
|
||||
(Opts.UseJIT && TargetInfo.OutputObjectFormat == llvm::Triple::ELF) \
|
||||
? "_" STR(SYMBOL_NAME) \
|
||||
|
||||
Reference in New Issue
Block a user