[PATCH] D23433: [Basic] Add missing `const` qualifier (NFC)
Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 11 17:28:33 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL278444: [Basic] Add const qualifier to SM.isInSystemMacro (NFC) (authored by vedantk).
Changed prior to commit:
https://reviews.llvm.org/D23433?vs=67737&id=67781#toc
Repository:
rL LLVM
https://reviews.llvm.org/D23433
Files:
cfe/trunk/include/clang/Basic/SourceManager.h
Index: cfe/trunk/include/clang/Basic/SourceManager.h
===================================================================
--- cfe/trunk/include/clang/Basic/SourceManager.h
+++ cfe/trunk/include/clang/Basic/SourceManager.h
@@ -1357,7 +1357,7 @@
}
/// \brief Returns whether \p Loc is expanded from a macro in a system header.
- bool isInSystemMacro(SourceLocation loc) {
+ bool isInSystemMacro(SourceLocation loc) const {
return loc.isMacroID() && isInSystemHeader(getSpellingLoc(loc));
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23433.67781.patch
Type: text/x-patch
Size: 507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160812/c5675f71/attachment.bin>
More information about the cfe-commits
mailing list