Displaying 4 results from an estimated 4 matches for "checkstrings".
2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
...ze()+6);
+ IsCheckHWM = true;
} else {
Buffer = Buffer.substr(1);
continue;
@@ -555,6 +594,34 @@ static bool ReadCheckFile(SourceMgr &SM,
// Scan ahead to the end of line.
size_t EOL = Buffer.find_first_of("\n\r");
+ if (IsCheckPush) {
+ if (CheckStrings.empty()) {
+ CheckStrings.push_back(CheckString(Pattern(Pattern::MatchCurrent),
+ SMLoc::getFromPointer(Buffer.data()),
+ false));
+ }
+ CheckStrings.back().PushPos++;
+ continue;
+ }
+
+...
2012 Sep 07
0
[LLVMdev] teaching FileCheck to handle variations in order
On 9/7/2012 7:20 AM, Matthew Curtis wrote:
>
> The attached patch implements one possible solution. It introduces a
> position stack and a couple of directives:
>
> * 'CHECK-PUSH:' pushes the current match position onto the stack.
> * 'CHECK-POP:' pops the top value off of the stack and uses it to set
> the current match position.
>
> The above
2012 Sep 07
5
[LLVMdev] teaching FileCheck to handle variations in order
...ze()+6);
+ IsCheckPop = true;
} else {
Buffer = Buffer.substr(1);
continue;
@@ -555,6 +590,22 @@ static bool ReadCheckFile(SourceMgr &SM,
// Scan ahead to the end of line.
size_t EOL = Buffer.find_first_of("\n\r");
+ if (IsCheckPush) {
+ if (CheckStrings.empty()) {
+ CheckStrings.push_back(CheckString(Pattern(Pattern::MatchCurrent),
+ SMLoc::getFromPointer(Buffer.data()),
+ false));
+ }
+ CheckStrings.back().PushPos++;
+ continue;
+ }
+
+...
2009 Aug 28
1
Calling C funtion from R help Needed
Hello Forum,
I'm calling C function from R.It is a small sample trial program. The C function will accept a character and a integer and print them.
It is printing some special character instead of input character. Below are the C function, Wrapper code ,R code and R output.
Please help me in this issue
Thank you in advance
C function (Name : checkstr.c)
#include<stdio.h>
int