Deleted Added
full compact
CommandLineSourceLoc.h (198092) CommandLineSourceLoc.h (199482)
1
1//===--- CommandLineSourceLoc.h - Parsing for source locations-*- C++ -*---===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 23 unchanged lines hidden (view full) ---

32 namespace cl {
33 /// \brief Command-line option parser that parses source locations.
34 ///
35 /// Source locations are of the form filename:line:column.
36 template<>
37 class parser<clang::ParsedSourceLocation>
38 : public basic_parser<clang::ParsedSourceLocation> {
39 public:
2//===--- CommandLineSourceLoc.h - Parsing for source locations-*- C++ -*---===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is distributed under the University of Illinois Open Source
7// License. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//

--- 23 unchanged lines hidden (view full) ---

33 namespace cl {
34 /// \brief Command-line option parser that parses source locations.
35 ///
36 /// Source locations are of the form filename:line:column.
37 template<>
38 class parser<clang::ParsedSourceLocation>
39 : public basic_parser<clang::ParsedSourceLocation> {
40 public:
40 bool parse(Option &O, StringRef ArgName, StringRef ArgValue,
41 inline bool parse(Option &O, StringRef ArgName, StringRef ArgValue,
41 clang::ParsedSourceLocation &Val);
42 };
43
44 bool
45 parser<clang::ParsedSourceLocation>::
46 parse(Option &O, StringRef ArgName, StringRef ArgValue,
47 clang::ParsedSourceLocation &Val) {
48 using namespace clang;

--- 36 unchanged lines hidden ---
42 clang::ParsedSourceLocation &Val);
43 };
44
45 bool
46 parser<clang::ParsedSourceLocation>::
47 parse(Option &O, StringRef ArgName, StringRef ArgValue,
48 clang::ParsedSourceLocation &Val) {
49 using namespace clang;

--- 36 unchanged lines hidden ---