Skip to content

missingIncludePrefixes only works with subdirectories #1037

@K-ballo

Description

@K-ballo

Changing the test to include <llvm/ThisHeaderDoesNotExist.h> causes it to fail:

#include <llvm/IR/ThisHeaderDoesNotExist.h>

The code seems to be literally looking for the string "llvm/" in the paths, missing the case where the path doesn't include the trailing slash. This works when the path is "llvm/IR" instead.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions