Merge pull request #444 from dbabokin/master
Fixing tabs and trainling white spaces
This commit is contained in:
@@ -921,7 +921,7 @@ DefineStdlib(SymbolTable *symbolTable, llvm::LLVMContext *ctx, llvm::Module *mod
|
|||||||
builtins_bitcode_generic_64_length,
|
builtins_bitcode_generic_64_length,
|
||||||
module, symbolTable);
|
module, symbolTable);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
extern unsigned char builtins_bitcode_generic_1[];
|
extern unsigned char builtins_bitcode_generic_1[];
|
||||||
extern int builtins_bitcode_generic_1_length;
|
extern int builtins_bitcode_generic_1_length;
|
||||||
AddBitcodeToModule(builtins_bitcode_generic_1,
|
AddBitcodeToModule(builtins_bitcode_generic_1,
|
||||||
|
|||||||
8
module.h
8
module.h
@@ -104,14 +104,14 @@ public:
|
|||||||
declarations of functions and types used in the ispc/application
|
declarations of functions and types used in the ispc/application
|
||||||
interface.
|
interface.
|
||||||
@param srcFile Pathname to ispc source file to compile
|
@param srcFile Pathname to ispc source file to compile
|
||||||
@param arch Target architecture (e.g. "x86-64")
|
@param arch %Target architecture (e.g. "x86-64")
|
||||||
@param cpu Target CPU (e.g. "core-i7")
|
@param cpu %Target CPU (e.g. "core-i7")
|
||||||
@param targets Target ISAs; this parameter may give a single target
|
@param targets %Target ISAs; this parameter may give a single target
|
||||||
ISA, or may give a comma-separated list of them in
|
ISA, or may give a comma-separated list of them in
|
||||||
case we are compiling to multiple ISAs.
|
case we are compiling to multiple ISAs.
|
||||||
@param generatePIC Indicates whether position-independent code should
|
@param generatePIC Indicates whether position-independent code should
|
||||||
be generated.
|
be generated.
|
||||||
@param outputType Type of output to generate (object files, assembly,
|
@param outputType %Type of output to generate (object files, assembly,
|
||||||
LLVM bitcode.)
|
LLVM bitcode.)
|
||||||
@param outFileName Base name of output filename for object files, etc.
|
@param outFileName Base name of output filename for object files, etc.
|
||||||
If for example the multiple targets "sse2" and "avx"
|
If for example the multiple targets "sse2" and "avx"
|
||||||
|
|||||||
38
parse.yy
38
parse.yy
@@ -2009,27 +2009,27 @@ lYYTNameErr (char *yyres, const char *yystr)
|
|||||||
char const *yyp = yystr;
|
char const *yyp = yystr;
|
||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
switch (*++yyp)
|
switch (*++yyp)
|
||||||
{
|
{
|
||||||
case '\'':
|
case '\'':
|
||||||
case ',':
|
case ',':
|
||||||
goto do_not_strip_quotes;
|
goto do_not_strip_quotes;
|
||||||
|
|
||||||
case '\\':
|
case '\\':
|
||||||
if (*++yyp != '\\')
|
if (*++yyp != '\\')
|
||||||
goto do_not_strip_quotes;
|
goto do_not_strip_quotes;
|
||||||
/* Fall through. */
|
/* Fall through. */
|
||||||
default:
|
default:
|
||||||
if (yyres)
|
if (yyres)
|
||||||
yyres[yyn] = *yyp;
|
yyres[yyn] = *yyp;
|
||||||
yyn++;
|
yyn++;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '"':
|
case '"':
|
||||||
if (yyres)
|
if (yyres)
|
||||||
yyres[yyn] = '\0';
|
yyres[yyn] = '\0';
|
||||||
return yyn;
|
return yyn;
|
||||||
}
|
}
|
||||||
do_not_strip_quotes: ;
|
do_not_strip_quotes: ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user