summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-03 21:52:55 +0000
committerChris Lattner <sabre@nondot.org>2009-02-03 21:52:55 +0000
commit1eaa70a612aa748c214858bef25e3fb79dbcb5c8 (patch)
treef51eed6298617405f8075cc8f51ba68aa76a4d87 /clang/lib/Basic/SourceManager.cpp
parente80f317886a1bed87acd0d6c663f5786fad88593 (diff)
downloadbcm5719-llvm-1eaa70a612aa748c214858bef25e3fb79dbcb5c8.tar.gz
bcm5719-llvm-1eaa70a612aa748c214858bef25e3fb79dbcb5c8.zip
stub out basic #line handling calls.
llvm-svn: 63667
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
-rw-r--r--clang/lib/Basic/SourceManager.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp
index 6f78ee175c6..ce9efb034a9 100644
--- a/clang/lib/Basic/SourceManager.cpp
+++ b/clang/lib/Basic/SourceManager.cpp
@@ -114,6 +114,15 @@ unsigned SourceManager::getLineTableFilenameID(const char *Ptr, unsigned Len) {
}
+/// AddLineNote - Add a line note to the line table for the FileID and offset
+/// specified by Loc. If FilenameID is -1, it is considered to be
+/// unspecified.
+void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo,
+ int FilenameID) {
+
+}
+
+
//===--------------------------------------------------------------------===//
// Private 'Create' methods.
//===--------------------------------------------------------------------===//
OpenPOWER on IntegriCloud