Displaying 3 results from an estimated 3 matches for "getsourcepathlist".
2013 May 10
0
[LLVMdev] CommandLine: using cl::Positional with enum
...;option1> | ( <option2> arg1 arg2) | ( <option3> arg1 )
The problem is clear: in this case, the arguments can't be optional. So I thought to delete all the "cl:opt" and process the arguments before calling:
ClangTool Tool(OptionsParser.getCompilations(), OptionsParser.getSourcePathList());
in order to give an error if the arguments provided were not correct. But, if arguments are correct, then the next error is shown:
warning: /home/user/clang-llvm/build/arg1: 'linker' input unused
error: unable to handle compilation, expected exactly one compiler job in ''
Erro...
2013 May 12
0
[LLVMdev] CommandLine: using cl::Positional with enum
...> arg1 arg2) | ( <option3> arg1 )
>
> The problem is clear: in this case, the arguments can't be optional. So I
> thought to delete all the "cl:opt" and process the arguments before calling:
>
> ClangTool Tool(OptionsParser.getCompilations(),
> OptionsParser.getSourcePathList());
Oh you're using Clang stuff. I know nothing about this so I can't
really help you here.
> in order to give an error if the arguments provided were not correct. But,
> if arguments are correct, then the next error is shown:
>
> warning: /home/user/clang-llvm/build/arg1: ...
2013 May 14
0
[LLVMdev] CommandLine: using cl::Positional with enum
...tion3> arg1 )
>>
>> The problem is clear: in this case, the arguments can't be optional. So I
>> thought to delete all the "cl:opt" and process the arguments before calling:
>>
>> ClangTool Tool(OptionsParser.getCompilations(),
>> OptionsParser.getSourcePathList());
>>
> Oh you're using Clang stuff. I know nothing about this so I can't
> really help you here.
>
>
>> in order to give an error if the arguments provided were not correct. But,
>> if arguments are correct, then the next error is shown:
>>
>>...