majnemer added inline comments.

================
Comment at: lib/CodeGen/CodeGenFunction.cpp:463
+
+  // Skip demangling if decl is extern "C"
+  if (ActualFuncDecl && !ActualFuncDecl->isExternC()) {
----------------
Is this comment still correct?


================
Comment at: lib/CodeGen/CodeGenModule.h:503
+  /// Mapping from SourceLocation to PresumedLoc FileName
+  llvm::DenseMap<unsigned, const char*> SourceLocToFileNameMap;
+
----------------
Pointers lean right.


================
Comment at: lib/CodeGen/CodeGenModule.h:1212
+  /// Get SourceLoc to FileName map cache
+  inline llvm::DenseMap<unsigned, const char*> &GetSourceLocToFileNameMap() {
+    return SourceLocToFileNameMap;
----------------
inline is redundant here.


https://reviews.llvm.org/D37624



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to