search for: pathv1

Displaying 20 results from an estimated 26 matches for "pathv1".

Did you mean: pathv
2011 Dec 06
0
[LLVMdev] [cfe-dev] LLVM & Clang file management
...y "grab stuff from the local file system." The current FileManager/SourceManager dance used to provide in-memory content for a (virtual or old) file is quite the mess. >> >>> Pro: >>> - only one interface for developers to learn on the project (no more >>> PathV1 vs PathV2 vs FileManager) >>> - only one implementation (per-platform) for easier maintenance of the >>> file system platform abstraction >>> - one point to insert synchronization guarantees for tools / IDE >>> integration that wants to run clang in multiple thre...
2011 Dec 06
5
[LLVMdev] [cfe-dev] LLVM & Clang file management
...ff from the local file system." The current FileManager/SourceManager dance used to provide in-memory content for a (virtual or old) file is quite the mess. >>> >>>> Pro: >>>> - only one interface for developers to learn on the project (no more >>>> PathV1 vs PathV2 vs FileManager) >>>> - only one implementation (per-platform) for easier maintenance of the >>>> file system platform abstraction >>>> - one point to insert synchronization guarantees for tools / IDE >>>> integration that wants to run clang...
2011 Dec 06
0
[LLVMdev] [cfe-dev] LLVM & Clang file management
...l file system." The current FileManager/SourceManager dance used to provide in-memory content for a (virtual or old) file is quite the mess. >>>> >>>>> Pro: >>>>> - only one interface for developers to learn on the project (no more >>>>> PathV1 vs PathV2 vs FileManager) >>>>> - only one implementation (per-platform) for easier maintenance of the >>>>> file system platform abstraction >>>>> - one point to insert synchronization guarantees for tools / IDE >>>>> integration that wan...
2011 Dec 06
1
[LLVMdev] [cfe-dev] LLVM & Clang file management
...uot; The current FileManager/SourceManager dance used to provide in-memory content for a (virtual or old) file is quite the mess. >>>>> >>>>>> Pro: >>>>>> - only one interface for developers to learn on the project (no more >>>>>> PathV1 vs PathV2 vs FileManager) >>>>>> - only one implementation (per-platform) for easier maintenance of the >>>>>> file system platform abstraction >>>>>> - one point to insert synchronization guarantees for tools / IDE >>>>>> inte...
2011 Dec 06
1
[LLVMdev] [cfe-dev] LLVM & Clang file management
...nt > FileManager/SourceManager dance used to provide in-memory content for a > (virtual or old) file is quite the mess. > >>>> > >>>>> Pro: > >>>>> - only one interface for developers to learn on the project (no more > >>>>> PathV1 vs PathV2 vs FileManager) > >>>>> - only one implementation (per-platform) for easier maintenance of > the > >>>>> file system platform abstraction > >>>>> - one point to insert synchronization guarantees for tools / IDE > >>>>...
2011 Dec 04
5
[LLVMdev] [cfe-dev] LLVM & Clang file management
...aren't simply "grab stuff from the local file system." The current FileManager/SourceManager dance used to provide in-memory content for a (virtual or old) file is quite the mess. > >> Pro: >> - only one interface for developers to learn on the project (no more >> PathV1 vs PathV2 vs FileManager) >> - only one implementation (per-platform) for easier maintenance of the >> file system platform abstraction >> - one point to insert synchronization guarantees for tools / IDE >> integration that wants to run clang in multiple threads at once (for...
2012 May 29
1
[LLVMdev] [cfe-commits] r157260 - in /cfe/trunk: include/clang/Rewrite/Rewriter.h lib/Rewrite/Rewriter.cpp unittests/CMakeLists.txt unittests/Tooling/RewriterTest.cpp unittests/Tooling/RewriterTestContext.h
...would do bad thing, thank you. dir = GetTemporaryDirectory(); dir.eraseFromDisk(erase_contents = true); dir = GetTemporaryDirectory(); /* It doesn't create anything on Win32 due to caching */ I suppose Manuel wants GetTemporaryDirectory() to keep semantics similar mkdtemp(3). Though it is in PathV1, could we fix? ...Takumi 2012/5/29 Manuel Klimek <klimek at google.com>: > Additionally, from looking at the PathV1.h comments, it looks like the > Windows version actually violates the contract "@brief Construct a path to > an new, unique, existing temporary directory."...
2011 Nov 28
4
[LLVMdev] LLVM & Clang file management
...he header search tries to access the file system driectly in rather brittle ways, relying on implementation details and #ifdefs. So why not make FileManager a more principled (and still blazing fast) file system abstraction? Pro: - only one interface for developers to learn on the project (no more PathV1 vs PathV2 vs FileManager) - only one implementation (per-platform) for easier maintenance of the file system platform abstraction - one point to insert synchronization guarantees for tools / IDE integration that wants to run clang in multiple threads at once (for example when re-indexing on 12-ht-c...
2011 Dec 03
0
[LLVMdev] [cfe-dev] LLVM & Clang file management
...plications that aren't simply "grab stuff from the local file system." The current FileManager/SourceManager dance used to provide in-memory content for a (virtual or old) file is quite the mess. > Pro: > - only one interface for developers to learn on the project (no more > PathV1 vs PathV2 vs FileManager) > - only one implementation (per-platform) for easier maintenance of the > file system platform abstraction > - one point to insert synchronization guarantees for tools / IDE > integration that wants to run clang in multiple threads at once (for > example wh...
2011 Dec 06
0
[LLVMdev] [cfe-dev] LLVM & Clang file management
...y "grab stuff from the local file system." The current FileManager/SourceManager dance used to provide in-memory content for a (virtual or old) file is quite the mess. >> >>> Pro: >>> - only one interface for developers to learn on the project (no more >>> PathV1 vs PathV2 vs FileManager) >>> - only one implementation (per-platform) for easier maintenance of the >>> file system platform abstraction >>> - one point to insert synchronization guarantees for tools / IDE >>> integration that wants to run clang in multiple thre...
2011 Dec 06
2
[LLVMdev] [cfe-dev] LLVM & Clang file management
...f from the local file system." The current FileManager/SourceManager dance used to provide in-memory content for a (virtual or old) file is quite the mess. >>> >>>> Pro: >>>> - only one interface for developers to learn on the project (no more >>>> PathV1 vs PathV2 vs FileManager) >>>> - only one implementation (per-platform) for easier maintenance of the >>>> file system platform abstraction >>>> - one point to insert synchronization guarantees for tools / IDE >>>> integration that wants to run clang...
2011 Dec 06
0
[LLVMdev] [cfe-dev] LLVM & Clang file management
...l file system." The current FileManager/SourceManager dance used to provide in-memory content for a (virtual or old) file is quite the mess. >>>> >>>>> Pro: >>>>> - only one interface for developers to learn on the project (no more >>>>> PathV1 vs PathV2 vs FileManager) >>>>> - only one implementation (per-platform) for easier maintenance of the >>>>> file system platform abstraction >>>>> - one point to insert synchronization guarantees for tools / IDE >>>>> integration that wan...
2011 Nov 28
2
[LLVMdev] [cfe-dev] LLVM & Clang file management
...le system > driectly in rather brittle ways, relying on implementation details and > #ifdefs. > > So why not make FileManager a more principled (and still blazing fast) > file system abstraction? > Pro: > - only one interface for developers to learn on the project (no more > PathV1 vs PathV2 vs FileManager) > - only one implementation (per-platform) for easier maintenance of the > file system platform abstraction > - one point to insert synchronization guarantees for tools / IDE > integration that wants to run clang in multiple threads at once (for > example wh...
2011 Nov 29
1
[LLVMdev] [cfe-dev] LLVM & Clang file management
...on implementation details and >>> #ifdefs. >>> >>> So why not make FileManager a more principled (and still blazing fast) >>> file system abstraction? >>> Pro: >>> - only one interface for developers to learn on the project (no more >>> PathV1 vs PathV2 vs FileManager) >>> - only one implementation (per-platform) for easier maintenance of the >>> file system platform abstraction >>> - one point to insert synchronization guarantees for tools / IDE >>> integration that wants to run clang in multiple thre...
2013 Nov 25
3
[LLVMdev] Android, llvm-ar and setLastModificationAndAccessTime
...hat the Android headers don't define the relevant system call number and it varies between platforms). Right now the only part of LLVM that uses this function is llvm-ar, so it's not as if lack of support for this function is a serious shortcoming. I don't really know the history of PathV1/PathV2 but I think the simplest solutions are: 1. Have setLastModificationAndAccessTime fail on platforms without futimes/futimens (by ENOSYS). This is pretty ugly because having a function which can never succeed seems likely to confuse users. 2. Only declare setLastModificationAndAcce...
2011 Sep 02
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
Nikola, Your patchset does not work; e>bin\clang.exe -S なかむら\たくみ.c error: error reading '邵コ・ェ邵コ荵昴・郢ァ蝎らクコ貅假ソ・邵コ・ソ.c' 1 error generated. - Would it be not enough in somewhere? I suspect clang still might be pathv1-dependent. (I guess, pathv1 would assume ansi) - raw_ostream does not handle utf8, but ansi, on win32. I would like to propose; - converting utf8 and utf16 may move to llvm/lib/Support. - we may get rid of CP_UTF8 with Win32 API. It must be trivial. ps. excuse me, I might respond you m...
2011 Nov 28
0
[LLVMdev] [cfe-dev] LLVM & Clang file management
...ather brittle ways, relying on implementation details and >> #ifdefs. >> >> So why not make FileManager a more principled (and still blazing fast) >> file system abstraction? >> Pro: >> - only one interface for developers to learn on the project (no more >> PathV1 vs PathV2 vs FileManager) >> - only one implementation (per-platform) for easier maintenance of the >> file system platform abstraction >> - one point to insert synchronization guarantees for tools / IDE >> integration that wants to run clang in multiple threads at once (for...
2011 Sep 01
3
[LLVMdev] [cfe-dev] Unicode path handling on Windows
AFAIK Clang internals do assume utf8, and llvm::sys::path converts strings to utf16 on windows and calls W API functions. If somebody would like to take a look at my changes and comment on them. Here's a brief explanation of what I did: - Convert argv to utf8 using current system locale for win32 (this is done as soon as possible inside ExpandArgv). This makes the driver happy since calls to
2013 Nov 25
0
[LLVMdev] Android, llvm-ar and setLastModificationAndAccessTime
...rs don't define the relevant system call number and > it varies between platforms). > > Right now the only part of LLVM that uses this function is llvm-ar, so > it's not as if lack of support for this function is a serious shortcoming. > I don't really know the history of PathV1/PathV2 but I think the simplest > solutions are: > > 1. Have setLastModificationAndAccessTime fail on platforms without > futimes/futimens (by ENOSYS). This is pretty ugly because having a function > which can never succeed seems likely to confuse users. > 2. Only decl...
2013 Nov 25
2
[LLVMdev] Android, llvm-ar and setLastModificationAndAccessTime
...elevant system call number and it varies > between platforms). > > Right now the only part of LLVM that uses this function is > llvm-ar, so it's not as if lack of support for this function is a > serious shortcoming. I don't really know the history of > PathV1/PathV2 but I think the simplest solutions are: > > 1. Have setLastModificationAndAccessTime fail on platforms > without futimes/futimens (by ENOSYS). This is pretty ugly > because having a function which can never succeed seems likely > to confuse users....