We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec9be8 commit b39f36eCopy full SHA for b39f36e
clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
@@ -174,7 +174,8 @@ class Action : public clang::ASTFrontendAction {
174
writeHTML();
175
176
// Source File's path of compiler invocation, converted to absolute path.
177
- llvm::SmallString<256> AbsPath(SM.getFileEntryRefForID(SM.getMainFileID())->getName());
+ llvm::SmallString<256> AbsPath(
178
+ SM.getFileEntryRefForID(SM.getMainFileID())->getName());
179
assert(!AbsPath.empty() && "Main file path not known?");
180
SM.getFileManager().makeAbsolutePath(AbsPath);
181
llvm::StringRef Code = SM.getBufferData(SM.getMainFileID());
0 commit comments