Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
757a6ec4
Commit
757a6ec4
authored
Feb 26, 2017
by
Brenden Blanco
Committed by
GitHub
Feb 26, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1008 from pchaigno/support-macro
Support for macros in rewriter
parents
a0752408
c5c3b992
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
42 deletions
+45
-42
src/cc/frontends/clang/b_frontend_action.cc
src/cc/frontends/clang/b_frontend_action.cc
+43
-42
src/cc/frontends/clang/b_frontend_action.h
src/cc/frontends/clang/b_frontend_action.h
+2
-0
No files found.
src/cc/frontends/clang/b_frontend_action.cc
View file @
757a6ec4
This diff is collapsed.
Click to expand it.
src/cc/frontends/clang/b_frontend_action.h
View file @
757a6ec4
...
@@ -73,6 +73,7 @@ class BTypeVisitor : public clang::RecursiveASTVisitor<BTypeVisitor> {
...
@@ -73,6 +73,7 @@ class BTypeVisitor : public clang::RecursiveASTVisitor<BTypeVisitor> {
bool
VisitImplicitCastExpr
(
clang
::
ImplicitCastExpr
*
E
);
bool
VisitImplicitCastExpr
(
clang
::
ImplicitCastExpr
*
E
);
private:
private:
clang
::
SourceRange
expansionRange
(
clang
::
SourceRange
range
);
template
<
unsigned
N
>
template
<
unsigned
N
>
clang
::
DiagnosticBuilder
error
(
clang
::
SourceLocation
loc
,
const
char
(
&
fmt
)[
N
]);
clang
::
DiagnosticBuilder
error
(
clang
::
SourceLocation
loc
,
const
char
(
&
fmt
)[
N
]);
...
@@ -97,6 +98,7 @@ class ProbeVisitor : public clang::RecursiveASTVisitor<ProbeVisitor> {
...
@@ -97,6 +98,7 @@ class ProbeVisitor : public clang::RecursiveASTVisitor<ProbeVisitor> {
bool
VisitMemberExpr
(
clang
::
MemberExpr
*
E
);
bool
VisitMemberExpr
(
clang
::
MemberExpr
*
E
);
void
set_ptreg
(
clang
::
Decl
*
D
)
{
ptregs_
.
insert
(
D
);
}
void
set_ptreg
(
clang
::
Decl
*
D
)
{
ptregs_
.
insert
(
D
);
}
private:
private:
clang
::
SourceRange
expansionRange
(
clang
::
SourceRange
range
);
template
<
unsigned
N
>
template
<
unsigned
N
>
clang
::
DiagnosticBuilder
error
(
clang
::
SourceLocation
loc
,
const
char
(
&
fmt
)[
N
]);
clang
::
DiagnosticBuilder
error
(
clang
::
SourceLocation
loc
,
const
char
(
&
fmt
)[
N
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment