aboutsummaryrefslogtreecommitdiffstats
path: root/cgrep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cgrep.cpp')
-rw-r--r--cgrep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgrep.cpp b/cgrep.cpp
index 2aa6575..e259d08 100644
--- a/cgrep.cpp
+++ b/cgrep.cpp
@@ -576,10 +576,10 @@ public:
const NamedDecl *ND = DRE->getFoundDecl();
std::string name = ND->getNameAsString();
SourceLocation SL = DRE->DEVI_GETLOCSTART();
+ SL = Devi::SourceLocationHasMacro(SL, Rewrite, "start");
SourceLocation SLE = SL.getLocWithOffset(name.length() - 1);
// SourceLocation SLE = DRE->DEVI_GETLOCEND();
CheckSLValidity(SL);
- SL = Devi::SourceLocationHasMacro(SL, Rewrite, "start");
if (Devi::IsTheMatchInSysHeader(CO_SYSHDR, MR, SL))
return void();
if (!Devi::IsTheMatchInMainFile(CO_MAINFILE, MR, SL))