Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
23c1676d
Commit
23c1676d
authored
12 years ago
by
Axel Naumann
Browse files
Options
Downloads
Patches
Plain Diff
LLVM_ON_WIN32 case: use the proper key in the UniqueFiles map.
llvm-svn: 160041
parent
9488100d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
clang/lib/Basic/FileManager.cpp
+7
-1
7 additions, 1 deletion
clang/lib/Basic/FileManager.cpp
with
7 additions
and
1 deletion
clang/lib/Basic/FileManager.cpp
+
7
−
1
View file @
23c1676d
...
...
@@ -112,7 +112,13 @@ public:
size_t
size
()
const
{
return
UniqueFiles
.
size
();
}
void
erase
(
const
FileEntry
*
Entry
)
{
UniqueFiles
.
erase
(
Entry
->
getName
());
}
void
erase
(
const
FileEntry
*
Entry
)
{
std
::
string
FullPath
(
GetFullPath
(
Entry
->
getName
()));
// Lowercase string because Windows filesystem is case insensitive.
FullPath
=
StringRef
(
FullPath
).
lower
();
UniqueFiles
.
erase
(
FullPath
);
}
};
//===----------------------------------------------------------------------===//
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment