[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:
practicalswift
2016-03-02 10:06:55 +01:00
parent 12e57c561d
commit 795b86004b

View File

@@ -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) \